K
Kevin Carter
Hi
I have a workbook that saves several worksheets into another workbook using
VB code
Is it possible to have a macro save with the workbook?
the code below creates a workbook called all
strFileName = "tempy"
ThisWorkbook.Worksheets(Array("all")).Copy
ActiveWorkbook.SaveAs Filename:="C:\TEMP\test temp" & strFileName &
".xls"
ActiveWorkbook.Close
Is it possible to have a macro save with the workbook?
thanks
kevin
I have a workbook that saves several worksheets into another workbook using
VB code
Is it possible to have a macro save with the workbook?
the code below creates a workbook called all
strFileName = "tempy"
ThisWorkbook.Worksheets(Array("all")).Copy
ActiveWorkbook.SaveAs Filename:="C:\TEMP\test temp" & strFileName &
".xls"
ActiveWorkbook.Close
Is it possible to have a macro save with the workbook?
thanks
kevin