Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Password on Save As
Hi all,
I am wanting a user to be able to select where the file is saved and the code I have used is: Application.Dialogs(xlDialogSaveAs).Show But does anyone know how I can attached a password to this file after the user has selected where they want to save the file and what they want to call it? The saveas function allows this, but I think it needs to know what the file is called and where it is to be saved. Any help would be much appreciated. Thanks Ashman |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Password on Save As
Ashman,
Have a look at GetSaveAsFilename in the VBA help file. Once you have the name, use the SaveAs method with a password. Robin Hammond www.enhanceddatasystems.com "Ashman" wrote in message ... Hi all, I am wanting a user to be able to select where the file is saved and the code I have used is: Application.Dialogs(xlDialogSaveAs).Show But does anyone know how I can attached a password to this file after the user has selected where they want to save the file and what they want to call it? The saveas function allows this, but I think it needs to know what the file is called and where it is to be saved. Any help would be much appreciated. Thanks Ashman |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Password on Save As
Cheers, many thanks works well
Ashman "Robin Hammond" wrote: Ashman, Have a look at GetSaveAsFilename in the VBA help file. Once you have the name, use the SaveAs method with a password. Robin Hammond www.enhanceddatasystems.com "Ashman" wrote in message ... Hi all, I am wanting a user to be able to select where the file is saved and the code I have used is: Application.Dialogs(xlDialogSaveAs).Show But does anyone know how I can attached a password to this file after the user has selected where they want to save the file and what they want to call it? The saveas function allows this, but I think it needs to know what the file is called and where it is to be saved. Any help would be much appreciated. Thanks Ashman |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ODBC setup won't save password | Excel Discussion (Misc queries) | |||
Save As and password issues | Excel Discussion (Misc queries) | |||
save password using macro | Excel Discussion (Misc queries) | |||
save as macro/for password | Excel Worksheet Functions | |||
Can't Save Password in MS Query | Excel Discussion (Misc queries) |