Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub LastRow()
Set ex = GetObject(, "excel.application") ex.worksheets("Sheet5").Activate LR = ex.Range("A65536").End(xlup).Row set ex = nothing End Sub When I run this sub I get object define or applicaiton define error when the code executes LR = ex.Range("A65536").End(xlup).Row line. Any help is really appreciated. Thanks Sonu |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUM command not working | Excel Worksheet Functions | |||
end command not working | Excel Programming | |||
ChangeLink Command Not Working | Excel Programming | |||
command button isn't working | New Users to Excel | |||
Kill command not working | Excel Programming |