Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to have password for opening workbook. This is easy, but I
would like to use VBA to enter password when asked, so that I don't need to manualy type every time. In this way when opening workbook I would have to click on enable macro. Is this possible or does exists some other way to solve this, can someone help? Thanks very much!!! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can't have VBA code in the workbook enter the password; since
the workbook is not yet open, no VBA can be executed. The closest you could get is to use another unprotected workbook to open the target workbook, and supply the password in the Open method. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Marc" wrote in message ... I would like to have password for opening workbook. This is easy, but I would like to use VBA to enter password when asked, so that I don't need to manualy type every time. In this way when opening workbook I would have to click on enable macro. Is this possible or does exists some other way to solve this, can someone help? Thanks very much!!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Password to open workbook | Excel Discussion (Misc queries) | |||
I know my password, yet it will not open my workbook | Excel Worksheet Functions | |||
need to open my workbook not asking for password so i can do so | Excel Discussion (Misc queries) | |||
Open password protected workbook. | Excel Programming | |||
Open a password protected excel workbook from second workbook to fetch data using dynamic connection | Excel Programming |