Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Macro wont update after file "read only"
I have the following macro on start up in my file. Sub unprotectEm() ActiveSheet.Unprotect Password:="shreked" ActiveWorkbook.UpdateLink Name:="R:\SHARED\PASSACC\EXCEL\PASSACC\CONTROL.XLS " _ , Type:=xlExcelLinks ActiveSheet.Protect Password:="shreked" End Sub Private Sub Workbook_Open() If ThisWorkbook.ReadOnly = True Then MsgBox "READ ONLY YOUVE BEEN WARNED" End Sub It works fine until its been opened as "read only". What I mean is I open the file and the read only msg box comes up no prob. When the file avail for editing again I open the file and its not updating the control list. Can anyone help? -- tweacle |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Links picking up values from an older version of linked file | Links and Linking in Excel | |||
Problem Editing Macro in Shared Excel File | Excel Discussion (Misc queries) | |||
Weekly Transaction Processing | Excel Worksheet Functions | |||
File asks to update when no links were created | Links and Linking in Excel | |||
Macro did not run after download file from net | Excel Worksheet Functions |