Home |
Search |
Today's Posts |
#1
|
|||
|
|||
run time error 91 Object Variable or With Block Variable not set
I had Office 2000 and upgraded to Office 2003, now everytime I go to close a
document I created in Office 2000 i get the above error message - can anyone give me any ideas what to do about this - everything works, it's just aggrevating - I've read something about setting variables, but I have NO idea what they are talking about Help please |
#2
|
|||
|
|||
In VBA or VB prior to VB.NET, you needed to do:
Set objSomeVariable = New Bla Bla Bla Without using the 'Set' keyword, you would get the error you are encountering Then you need to destroy the object reference like so: Set objSomeVariable = Nothing "champcf" wrote: I had Office 2000 and upgraded to Office 2003, now everytime I go to close a document I created in Office 2000 i get the above error message - can anyone give me any ideas what to do about this - everything works, it's just aggrevating - I've read something about setting variables, but I have NO idea what they are talking about Help please |
#3
|
|||
|
|||
Crouchie
Thanks for the response, I'm assuming the VBA is the one you can choolse while in word? "Crouchie1998" wrote: In VBA or VB prior to VB.NET, you needed to do: Set objSomeVariable = New Bla Bla Bla Without using the 'Set' keyword, you would get the error you are encountering Then you need to destroy the object reference like so: Set objSomeVariable = Nothing "champcf" wrote: I had Office 2000 and upgraded to Office 2003, now everytime I go to close a document I created in Office 2000 i get the above error message - can anyone give me any ideas what to do about this - everything works, it's just aggrevating - I've read something about setting variables, but I have NO idea what they are talking about Help please |
#4
|
|||
|
|||
Ok Crouchie, thanks again for the response, but this is all greek to me -
where do I change this and where do I find this? thanks "Crouchie1998" wrote: In VBA or VB prior to VB.NET, you needed to do: Set objSomeVariable = New Bla Bla Bla Without using the 'Set' keyword, you would get the error you are encountering Then you need to destroy the object reference like so: Set objSomeVariable = Nothing "champcf" wrote: I had Office 2000 and upgraded to Office 2003, now everytime I go to close a document I created in Office 2000 i get the above error message - can anyone give me any ideas what to do about this - everything works, it's just aggrevating - I've read something about setting variables, but I have NO idea what they are talking about Help please |