Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Automatic Save As Macro

I need help in creating a macro that will prompt the user who opens the
workbook to automatically save the workbook with a new file name. I have a
workbook that is revised on a daily basis and I want to maintain the previous
day's file. I am generally the one who opens the workbook, but there will be
days when someone else opens it on their computer. It doesn't have to be a
mandatory save, but I want the prompt there as a reminder to save with a new
filename.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Automatic Save As Macro

Option Explicit
Sub Auto_Open()
Msgbox "Remember to save as a new name. Well, if you want!"
End Sub

or

Option Explicit
Sub Auto_Open()
Application.Dialogs(xlDialogSaveAs).Show
End Sub

To just show the File|SaveAs Dialog

wrvadmin wrote:

I need help in creating a macro that will prompt the user who opens the
workbook to automatically save the workbook with a new file name. I have a
workbook that is revised on a daily basis and I want to maintain the previous
day's file. I am generally the one who opens the workbook, but there will be
days when someone else opens it on their computer. It doesn't have to be a
mandatory save, but I want the prompt there as a reminder to save with a new
filename.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Automatic Save As Macro

hi
would this work for you?
Private Sub Workbook_Open()
If MsgBox("Do you want to save the file under a different name?") = vbYes
Then
Application.Dialogs(xlDialogSaveAs).Show
Else
Exit Sub
End If
End Sub

regards
FSt1

"wrvadmin" wrote:

I need help in creating a macro that will prompt the user who opens the
workbook to automatically save the workbook with a new file name. I have a
workbook that is revised on a daily basis and I want to maintain the previous
day's file. I am generally the one who opens the workbook, but there will be
days when someone else opens it on their computer. It doesn't have to be a
mandatory save, but I want the prompt there as a reminder to save with a new
filename.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Automatic Save As Macro

Thank you. The second macro did the trick.

"Dave Peterson" wrote:

Option Explicit
Sub Auto_Open()
Msgbox "Remember to save as a new name. Well, if you want!"
End Sub

or

Option Explicit
Sub Auto_Open()
Application.Dialogs(xlDialogSaveAs).Show
End Sub

To just show the File|SaveAs Dialog

wrvadmin wrote:

I need help in creating a macro that will prompt the user who opens the
workbook to automatically save the workbook with a new file name. I have a
workbook that is revised on a daily basis and I want to maintain the previous
day's file. I am generally the one who opens the workbook, but there will be
days when someone else opens it on their computer. It doesn't have to be a
mandatory save, but I want the prompt there as a reminder to save with a new
filename.


--

Dave Peterson

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
Automatic Save As gramps Excel Discussion (Misc queries) 2 April 4th 07 04:46 PM
Excel Automatic Calculation Options will not Save SMA1974 Setting up and Configuration of Excel 1 December 29th 06 08:42 PM
Automatic Save and Exit duane Excel Discussion (Misc queries) 1 July 18th 06 10:32 AM
Automatic save workbook rufusf Excel Worksheet Functions 0 March 22nd 06 07:49 AM
How do you turn off automatic "save a copy" in Excel Cecilia Quinn Dean Excel Discussion (Misc queries) 2 May 22nd 05 06:43 PM


All times are GMT +1. The time now is 03:10 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"