G
Greg
Hi,
I am in the middle of a move. I don't have my personal
computer available and I am trying to set up my computer
at my new job.
I am having a problem with a very simple macro that I run
on my personal computer.
Sub AutoNew()
ActiveWindow.View.Type = wdPrintView
CommandBars("Reviewing").Visible = False
End Sub
With this macro loaded on the computer I am using at work
I get the following message:
Run-time error '91'
Object variable or With block variable not set.
I stepped through the macro and the error is generated on
the second line.
Can anyone point me to a solution. Thank you.
I am in the middle of a move. I don't have my personal
computer available and I am trying to set up my computer
at my new job.
I am having a problem with a very simple macro that I run
on my personal computer.
Sub AutoNew()
ActiveWindow.View.Type = wdPrintView
CommandBars("Reviewing").Visible = False
End Sub
With this macro loaded on the computer I am using at work
I get the following message:
Run-time error '91'
Object variable or With block variable not set.
I stepped through the macro and the error is generated on
the second line.
Can anyone point me to a solution. Thank you.