Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello I have a macro that opens many files/saves and closes them but is there a way of opening a file with a password using a macro without having to enter the password when the macro ask you. So other words is it possible to have the password written into the actual macro itself. Thanks in advance, Paul Maynard Moscow Russia. -- paulrm906 ------------------------------------------------------------------------ paulrm906's Profile: http://www.excelforum.com/member.php...o&userid=28776 View this thread: http://www.excelforum.com/showthread...hreadid=518608 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi,
open the vb editor (alt + F11). click help (in the vb editor). in the search box, type "open method". It will explain how to add the Password in the open statement used by the macro. regards FSt1 "paulrm906" wrote: Hello I have a macro that opens many files/saves and closes them but is there a way of opening a file with a password using a macro without having to enter the password when the macro ask you. So other words is it possible to have the password written into the actual macro itself. Thanks in advance, Paul Maynard Moscow Russia. -- paulrm906 ------------------------------------------------------------------------ paulrm906's Profile: http://www.excelforum.com/member.php...o&userid=28776 View this thread: http://www.excelforum.com/showthread...hreadid=518608 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello FStl I have gone into help tried everything that I could but I do not seen to be getting anywhere. Everything that I try it keeps asking me for the password that I am opening. Below is a copy of the actual macro, if I can get help from you or anyone it will be greatly appreciated. Sub Auto_Open() ' ' Auto_Open Macro ' Macro recorded 4/03/2006 by Paul Maynard ' ' Workbooks.Open Filename:= _ "E:\Documents and Settings\anna\Desktop\Paul\Work\111.xls" ActiveWorkbook.Save ActiveWorkbook.Close End Sub Thanks Paul Maynard Moscow Russia. -- paulrm906 ------------------------------------------------------------------------ paulrm906's Profile: http://www.excelforum.com/member.php...o&userid=28776 View this thread: http://www.excelforum.com/showthread...hreadid=518608 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Random Passwords | Excel Worksheet Functions | |||
Excel crashes while opening excel file imbeddied with macros | Excel Discussion (Misc queries) | |||
Macros, Protected Books & Missing Passwords | Excel Worksheet Functions | |||
Enabling macros | Excel Discussion (Misc queries) | |||
Transferring toolbars and macros to other computers | Excel Discussion (Misc queries) |