Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
HI!
I NEED TO SAVE THREE WORK SHEET. SHEET 4,5,6. THE USER PUSHES A BUTTON AND RESULTS ARE DISPLAYED, BUT I WOULD ALSO LIKE THESE SHEETS TO BE SAVED IN DIRECTORY1, DIRECTORY2, DIRECTORY3. THANKS TO ALL FOR YOUR HELP. REN |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim i as Long
for i = 4 to 6 worksheets("Sheet" & i ).copy ActiveWorkbook.SaveAs "C:\Directory" & i-3 _ & "\" & worksheets(i).Name & ".xls" ActiveWorkbook.Close SaveChanges:=False Next i -- Regards, Tom Ogilvy "Ren" wrote in message ... HI! I NEED TO SAVE THREE WORK SHEET. SHEET 4,5,6. THE USER PUSHES A BUTTON AND RESULTS ARE DISPLAYED, BUT I WOULD ALSO LIKE THESE SHEETS TO BE SAVED IN DIRECTORY1, DIRECTORY2, DIRECTORY3. THANKS TO ALL FOR YOUR HELP. REN |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I recover an Excel work sheet if closed before saving | Excel Discussion (Misc queries) | |||
Amending 1 work sheet saving in all | Excel Worksheet Functions | |||
extracting totals from 1 work sheet to another work work sheet | Excel Discussion (Misc queries) | |||
GETTING SELECTED DATA FROM A WORK SHEET TO OTHER WORK SHEET | Excel Discussion (Misc queries) | |||
Populating work sheet combox with another work sheet values | Excel Discussion (Misc queries) |