Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to be able to save the excel workbook file name with each worksheet
within the workbook per tab name respectively, can this be done? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sub SaveAsSheets()
Dim oWS As Worksheet For Each oWS In ActiveWorkbook.Worksheets oWS.Copy ActiveWorkbook.SaveAs oWS.Name Next oWS End Sub -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Olga Cook" <Olga wrote in message ... I want to be able to save the excel workbook file name with each worksheet within the workbook per tab name respectively, can this be done? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
easy.got the answer. simply save as usual except add the cell number you are
in, i.e., =cell("filename",a28) will save the tab(s) in the workbook as respectively named worksheets within the workbook. Thank you Aida for your help! "Olga Cook" wrote: I want to be able to save the excel workbook file name with each worksheet within the workbook per tab name respectively, can this be done? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how can you list all of the worksheet names in a file | Excel Discussion (Misc queries) | |||
Can you auto-trigger a sound file to play when a worksheet opens? | Excel Worksheet Functions | |||
Comparing a list to a Calendar worksheet. | Excel Worksheet Functions | |||
Reference a cell on another worksheet in the same spreadsheet file | Excel Discussion (Misc queries) | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) |