Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I just turned an xls file into an xla file and am having some issues with my
code. The code snippet below is failing on: Windows(varfile1).Activate. varfile1 is the name of the xla file. When it was an xls file I selected the workbook, then selected a sheet in it, then selected a start cell and then figured out what the used range was (I know I can also employ .UsedRange but will ignore for now). However, now that its an xla file I cannot seem to a get to my start cell (within a sheet in the xla file) by selecting the xla file and its sheet. How do I get around this. Thanks in advance. Windows(varfile1).Activate Sheets(varsheet1).Select Range("A1").Select Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
time sheet | Excel Discussion (Misc queries) | |||
Help PLEASE! Not sure what answer is: Match? Index? Other? | Excel Worksheet Functions | |||
Run time error 9 : Subscript out of range | Excel Discussion (Misc queries) | |||
My Quest with Time!! | Excel Worksheet Functions | |||
set or reset the print range for several sheets at a time? | Excel Discussion (Misc queries) |