LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default saving sheet as new workbook

Hi,
i have managed to write this which works ok for mt sheet saving as workbook:

Namer = ActiveSheet.Name
Location = "C:\Documents and Settings\myname\Desktop\Invoices"
yearly = Format(Date, "yy")
Dater = Format(Date, "mmmm")
Clienter = Range("B23").Value
detailer = Range("B32").Value

ActiveSheet.Copy
ActiveWorkbook.SaveAs Location & "\" & Dater & " " & yearly & "\" & Namer &
" " & Clienter & " " & detailer

however, i need it to save in the month folder as specified on the onvoice
date but currently it is taking the month of today and searching for that
folder. Can i take the cell data , range("H14"), and format the value to
month only to get the variable to search for the month only??

thanks, Nigel

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving / emailing sinlge excel sheet, not entire workbook BRCorprado Excel Discussion (Misc queries) 2 September 17th 09 10:34 PM
specify each sheet name when saving workbook as html [email protected] Excel Discussion (Misc queries) 3 May 7th 07 07:01 PM
Saving one sheet within a workbook David Vollmer Excel Discussion (Misc queries) 2 September 14th 05 06:04 PM
Weekly Email one sheet in workbook not saving contacts Brian Mashburn Excel Worksheet Functions 0 January 27th 05 07:19 PM
Saving only 1 sheet of a workbook Jay Wilson Excel Programming 4 February 2nd 04 04:38 PM


All times are GMT +1. The time now is 12:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"