Crocdundee
Board Regular
- Joined
- May 10, 2010
- Messages
- 174
- Office Version
- 2013
- Platform
- Windows
Hi I import a csv file each day in excel,and the worksheet has a different name each day.
I am using sheet1 as the worksheet in a macro.
How can I change the unknown worksheet to Sheet1 in VBA
This is the name of the worksheet I import "worksheet_Thursday, 12 May"
However it changes each day
-----------------------------------------
The way I see it,is
(1) use vba to capture the worksheet in a variable....the use the variable ??
(2) Rename it in vba ???
------------------------------------------------------
Any Help would be appreciated
Thank You
Graham
I am using sheet1 as the worksheet in a macro.
How can I change the unknown worksheet to Sheet1 in VBA
This is the name of the worksheet I import "worksheet_Thursday, 12 May"
However it changes each day
-----------------------------------------
The way I see it,is
(1) use vba to capture the worksheet in a variable....the use the variable ??
(2) Rename it in vba ???
------------------------------------------------------
Any Help would be appreciated
Thank You
Graham