VBA : Excel Range Selection Problem
I am experiencing a unique situation about the Excel Range. This is the
code :
Range(Cells(7, 6), Cells(7, intLastColumn).End(xlDown)).Select
Selection.NumberFormat = "0"
Its working most of the time and changing the format to "0" as desired.
(Columns will contain numerics only) But some times, For some wiered
reason, it wont reach till the last row. Anyone has similar experience.
Appreciate help.
|