The Doctor
Member
More questions for the Ninjas out there. I've got a forecast workbook that has been parsed down by region for updating my regional managers. This workbook includes the following script on open to pull up the master forecast and update the data on the regional workbook. Because the master forecast is protected to prevent regions from being privy to forecasting and budgeting information for other regions it is causing me some trouble. I have on each regions workbook the following VBA:
Private Sub Workbook_open()
Workbooks.Open Filename:="networkpathsubfoldermaster forecast.xlsx", Password:="Pass#Word"
Workbooks("master forecast.xlsx").Close SaveChanges:=False
End Sub
Yet each time their workbooks get opened they receive the password input dialogue box. Pressing cancel will still allow the links in the regional workbook to update, but I wan to prevent the password dialogue from opening.
I have also tried adding an Application.DisplayAlerts = False string, but still get the password dialogue. I've managed to baffle my IT folks on this one, so I'm looking to the Excel Ninja message board
Thanks,
The_Doctor
Private Sub Workbook_open()
Workbooks.Open Filename:="networkpathsubfoldermaster forecast.xlsx", Password:="Pass#Word"
Workbooks("master forecast.xlsx").Close SaveChanges:=False
End Sub
Yet each time their workbooks get opened they receive the password input dialogue box. Pressing cancel will still allow the links in the regional workbook to update, but I wan to prevent the password dialogue from opening.
I have also tried adding an Application.DisplayAlerts = False string, but still get the password dialogue. I've managed to baffle my IT folks on this one, so I'm looking to the Excel Ninja message board
Thanks,
The_Doctor