Your Products have been synced, click here to refresh
Dim WidthSet WidthSet = xlSheet.Range("A4").Columns.AutoFit() WidthSet = xlSheet.Cells(RCount - 1, 2).Columns.AutoFit()[SIZE=2][/SIZE]
If xlsheet.Cells(RCount+5,CCount).value > xlsheet.cells(Rcount+2,Ccount).Value Then xlsheet.Cells(RCount+5,Ccount[B]).Interior.ColorIndex [/B]= 38 End If
objExcel.Cells(1, 2).Font.ColorIndex = 44
Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() Set objWorksheet = objWorkbook.Worksheets(1) For i = 1 to 14 objExcel.Cells(i, 1).Value = i objExcel.Cells(i, 2).Interior.ColorIndex = i Next For i = 15 to 28 objExcel.Cells(i - 14, 3).Value = i objExcel.Cells(i - 14, 4).Interior.ColorIndex = i Next For i = 29 to 42 objExcel.Cells(i - 28, 5).Value = i objExcel.Cells(i - 28, 6).Interior.ColorIndex = i Next For i = 43 to 56 objExcel.Cells(i - 42, 7).Value = i objExcel.Cells(i - 42, 8).Interior.ColorIndex = i Next
Dim WidthSet WidthSet = xlSheet.Range("A4").Columns.AutoFit() WidthSet = xlSheet.Cells(RCount - 1, 2).Columns.AutoFit()[SIZE=2][/SIZE]
If xlsheet.Cells(RCount+5,CCount).value > xlsheet.cells(Rcount+2,Ccount).Value Then xlsheet.Cells(RCount+5,Ccount[B]).Interior.ColorIndex [/B]= 38 End If
objExcel.Cells(1, 2).Font.ColorIndex = 44
Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() Set objWorksheet = objWorkbook.Worksheets(1) For i = 1 to 14 objExcel.Cells(i, 1).Value = i objExcel.Cells(i, 2).Interior.ColorIndex = i Next For i = 15 to 28 objExcel.Cells(i - 14, 3).Value = i objExcel.Cells(i - 14, 4).Interior.ColorIndex = i Next For i = 29 to 42 objExcel.Cells(i - 28, 5).Value = i objExcel.Cells(i - 28, 6).Interior.ColorIndex = i Next For i = 43 to 56 objExcel.Cells(i - 42, 7).Value = i objExcel.Cells(i - 42, 8).Interior.ColorIndex = i Next
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |