Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
OK, I am stuck. I have this line of code that was working:
Doesn't work lnglastrow = xlSheet.Cells(xlSheet.Rows.Count, "A").End(xlUp).Row Does work lnglastrow = xlSheet.Cells(xlSheet.Rows.Count, 1).End(xlUp).Row Now it only works if I replace the "A" with a 1. This is happening throughout my code where I do not use a column number. Anyone have any suggestions? thanks Terry |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sort Not Working on Column of Numbers | Excel Worksheet Functions | |||
Trying to transpose a row to a column - it is not working - help! | Excel Worksheet Functions | |||
Printing after using column auto fit - not working | Excel Discussion (Misc queries) | |||
Working out first and last column and row in a range | Excel Programming | |||
working by column name | Excel Programming |