code
Sub test8()
'
' test8 Macro
'
ActiveWindow.ActivateNext
Application.ActiveProtectedViewWindow.Edit
ActiveWindow.ActivateNext
End Sub
Hi Experts,
I have a protected view file and a normal one. I am trying to run the above code from the normal one but I'm getting run time error 91 object variable or with block variable not set. Any ideas how I can fix this?
regards,
JerryH09
Sub test8()
'
' test8 Macro
'
ActiveWindow.ActivateNext
Application.ActiveProtectedViewWindow.Edit
ActiveWindow.ActivateNext
End Sub
Hi Experts,
I have a protected view file and a normal one. I am trying to run the above code from the normal one but I'm getting run time error 91 object variable or with block variable not set. Any ideas how I can fix this?
regards,
JerryH09