I have several workbooks in excel that I have to open and extract data with a macro
I am extracting data from the first worksheet but the code stalls when it opens a workbook that has been saved with another worksheet visible (I.e opens on the second or third worksheet visible)
What is the code to always select the first cell on the first worksheet regardless of how it has been saved? The worksheets may have different names but I always need the first (leftmost one)
Many thanks
Os
I am extracting data from the first worksheet but the code stalls when it opens a workbook that has been saved with another worksheet visible (I.e opens on the second or third worksheet visible)
What is the code to always select the first cell on the first worksheet regardless of how it has been saved? The worksheets may have different names but I always need the first (leftmost one)
Many thanks
Os