Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using Office 2003 on Windows XP.
I have an Excel form file, that contains macros, uploaded into Public Folders in Outlook. In 2003, the user is given the opportunity to Save the file locally or Open it directly. Perhaps in an "On Open", I need a way to programmatically determine whether the file has been saved by the user - and then disable the macros (I can do this part already). i.e. I want the user to only Open the file directly from the Outlook folder, not save it and then open the saved copy. How can I programmatically identify if the file has been saved somewhere else vs. opened directly? Thanks much for your assistance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
since you know the location of the file in Outlook
you could test if not thisworkbook.path = "What you expect"' then close out and give error message end if "quartz" wrote: I am using Office 2003 on Windows XP. I have an Excel form file, that contains macros, uploaded into Public Folders in Outlook. In 2003, the user is given the opportunity to Save the file locally or Open it directly. Perhaps in an "On Open", I need a way to programmatically determine whether the file has been saved by the user - and then disable the macros (I can do this part already). i.e. I want the user to only Open the file directly from the Outlook folder, not save it and then open the saved copy. How can I programmatically identify if the file has been saved somewhere else vs. opened directly? Thanks much for your assistance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"File Error: Data May Be Lost" when file saved on Mac is opened inWindows | Excel Discussion (Misc queries) | |||
Formatting not saved when file re-opened | Excel Discussion (Misc queries) | |||
can't find file opened from email,changes made & saved | Excel Discussion (Misc queries) | |||
how do i determine when a file was last opened | Excel Discussion (Misc queries) | |||
How do I recover excel file opened through email and not saved | Excel Discussion (Misc queries) |