Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default Save As Change

I need to change the Save As on the File Drop Down menu to not be the
original document. I would like to rename it as I did on exit.

I have already diabled the save and on exit it does a "save as" to the new
name. See code below:

Private Sub workbook_open()

'With CommandBars("File")
With Me.Application.CommandBars("File")
..Controls(4).Enabled = False 'Save Button

End With
Me.Application.CommandBars("standard").Controls("S ave").Enabled = False

End Sub



Private Sub Workbook_BeforeClose(Cancel As Boolean)

Me.Application.Dialogs(xlDialogSaveAs).Show "C:\New_Expense_Report.xls"
With Me.Application.CommandBars("File")
.Controls(4).Enabled = True
End With

Me.Application.CommandBars("Standard").Controls("S ave").Enabled = True

End Sub


Any advice would be appreciated!
Thanks in Advance
Reply
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
Change the name of an auto save DaveDuf Excel Worksheet Functions 1 December 7th 09 09:06 PM
Save File to Another Directory, but not change Users File Save location Mike Knight Excel Programming 1 May 28th 04 09:06 PM
Why system asks me to save change even after I call save method(VB.NET) steellock Excel Programming 2 April 27th 04 04:14 AM
Save on change Birdy Excel Programming 1 February 9th 04 11:40 AM
Change name in Save As? Ed[_9_] Excel Programming 3 August 4th 03 07:57 PM


All times are GMT +1. The time now is 03:18 AM.

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"