I am trying to writing code that will perform the following:
1) Open an excel file located in this directory: C:\Users\jhaberme\Desktop\DailyFiles
2) Insert a Colum in Column A
2) Name the Column Group
3) Fill in the column beginning at A2 with the Sheet Name
4) Save and close the File as SheetName_ExportedData_Yestrday'sDate as YYYYMMDD
What I want to happen is if a files exists in the folder Open it and do steps 1 -4, as I could have 30 - 40 files in the folder. Also with step 3 filling in the column with the sheet name, I need to fill in every row that as data in the column next to it (Col b which is called Employee SSN) So what this means is that the number of rows in which I have data varies.
Thanks,
John
1) Open an excel file located in this directory: C:\Users\jhaberme\Desktop\DailyFiles
2) Insert a Colum in Column A
2) Name the Column Group
3) Fill in the column beginning at A2 with the Sheet Name
4) Save and close the File as SheetName_ExportedData_Yestrday'sDate as YYYYMMDD
What I want to happen is if a files exists in the folder Open it and do steps 1 -4, as I could have 30 - 40 files in the folder. Also with step 3 filling in the column with the sheet name, I need to fill in every row that as data in the column next to it (Col b which is called Employee SSN) So what this means is that the number of rows in which I have data varies.
Thanks,
John