Good morning happy campers,
I have a workbook (among many) it contains various sheets with command buttons to open, modify, save & close various other sheets.
Current standing;-
Work Book named "Updated Sheet"
Saved in location - "W:\LOGISTICS\Supervisor's\Housekeeping\Updated Sheet.xlsm"
On this workbook i have 6 tabs (some hidden some not), tab named "H.K Template" - on this tab i have a button that will set the print area to as many cells contain info, and a button to move (switch sheet) to another location.
I would like a code that will;
*Copy the "H.K Template" sheet ONLY from this workbook
*Paste into new workbook
*Delete all other tabs (so only the "H.K Template" is present)
*Save as the name of the user logged into windows, and the days date - "Joe.Bloggs 30.06.12" into a location (to be defined later, so for now use address above)
*Return to the workbook "Updated Sheet"
*Clear cell contents all previously entered into ranges "C3:J23" & "A25:J33"
Then save.
Now, i have some experience with VBA, the sheet im using has buttons for opening new sheets, auto filtering etc. which i can just about understand well enough but i cant get my head round saving as new seperate sheet and using the name of the person logged into windows and the date.
All help is appreciated
Kind Regards, Galvinpaddy
Bookmarks