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: 1
Default Saving Individual Worksheets

I am using this code to save my workbooks:


'--------------------------------------------------------------------------

Sub SaveAsTodaysDate()
Dim sFileName As String, sPath As String
Application.ScreenUpdating = False

sPath = "C:\LOGS\" 'change path here
sFileName = "NW Failures " + Format(Now(), "dd.mm.yyyy") & ".xls"
ActiveWorkbook.SaveAs (sPath & sFileName)
Application.ScreenUpdating = True
MsgBox ("File - " & sFileName & " - Saved Successfully"), vbOKOnly

End Sub

'--------------------------------------------------------------------------

This save the workbook with the date of creation.

What i want to do is save an individual worksheet with the sam
filename formatting as above.

The worksheets i have are called "PASS" and "FAIL".

Can anyine suggest a way to do this please.

TI

--
Message posted from http://www.ExcelForum.com

 
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
Put data into individual worksheets kjstec New Users to Excel 4 April 14th 09 08:53 PM
Master Worksheets and Individual Worksheets PADutchFireman Excel Worksheet Functions 1 April 2nd 09 05:59 PM
Email individual worksheets? Flambe New Users to Excel 1 November 7th 08 06:26 PM
Saving worksheets within workbooks as individual files Colin Hayes Excel Worksheet Functions 4 May 11th 06 06:46 PM
Saving workbook sheets to individual excel files keepitcool Excel Programming 0 August 9th 03 01:05 AM


All times are GMT +1. The time now is 04:24 PM.

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

About Us

"It's about Microsoft Excel"