#1   Report Post  
Dave 2005
 
Posts: n/a
Default macro Runtime Error

Hi

I have a macro that will run ok about 5 times out of 10. I would like to
know why this is happening

Run-time error '91': object variable or with block variable not set.

Thanks in advance



  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default macro Runtime Error

It's because you're trying to use an object variable that isn't set.

Anything more would require that you post the macro.

In article ,
"Dave 2005" wrote:

Hi

I have a macro that will run ok about 5 times out of 10. I would like to
know why this is happening

Run-time error '91': object variable or with block variable not set.

Thanks in advance

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Runtime error Anthony Excel Discussion (Misc queries) 1 October 9th 05 01:28 AM
Error Running a Macro viddom Excel Discussion (Misc queries) 3 July 28th 05 01:56 PM
Error when trying to delete a macro... Currie Excel Discussion (Misc queries) 5 July 6th 05 07:31 PM
Macro error - more help please! Anthony Excel Discussion (Misc queries) 2 March 22nd 05 03:02 PM
macro error Anthony Excel Discussion (Misc queries) 4 March 22nd 05 02:40 PM


All times are GMT +1. The time now is 04:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"