ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Workbook Variables (https://www.excelbanter.com/excel-programming/359599-workbook-variables.html)

gti_jobert[_90_]

Workbook Variables
 

Hi all,

I have 2 workbooks, in the first one I have a macro that opens the
second workbook (at current the sheets are password protected for
security reasons). I want to be able to pass a variable from the first
workbook to the second so that I am able to unprotect the second
workbook automatically.

Note: The second workbook should always remain protected unless it has
been opened using the macro from the first workbook.

TIA


--
gti_jobert
------------------------------------------------------------------------
gti_jobert's Profile: http://www.excelforum.com/member.php...o&userid=30634
View this thread: http://www.excelforum.com/showthread...hreadid=535537



All times are GMT +1. The time now is 07:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com