Hi Guys,
Looking to format Column A from A2 to First_Free_Row.
Below are not working, thanks guys
Excel.Sheet(“Sheet1”).Range(“A2”+(First_Free_Row).ToString)
Excel.Sheet(“Sheet1”).Range(“A2”+First_Free_Row.ToString)
Hi Guys,
Looking to format Column A from A2 to First_Free_Row.
Below are not working, thanks guys
Excel.Sheet(“Sheet1”).Range(“A2”+(First_Free_Row).ToString)
Excel.Sheet(“Sheet1”).Range(“A2”+First_Free_Row.ToString)
try
Excel.Sheet("Sheet1").Range("A2:A"+First_Free_Row.ToString)
Perfecto !!!
Many thanks buddy !
Slight adjustment if it helps anyone in future, place -1 after first free row.
Thanks again.
Excel.Sheet(“Sheet1”).Range(“A2:A”+(First_Free_Row-1).ToString)
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.