LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 230
Default Stumped - Problem with Macro Security settings?

Peter T wrote:
"Elkar" wrote in message

Comments in-line

On opening, I receive the error: "Run-time error '424': Object Required".
Hitting Debug points me to these lines (depending which condition is met):

SubmitReport.Enabled = True
SubmitReport.Enabled = False

SubmitReport is a button on the worksheet 'Reconcilliation'.


Sounds like there is no ActiveX control named "SubmitReport" on the sheet
whose code module includes the calculate event. Is the sheet named
'Reconcilliation' that which includes the calculate event. Is 'SubmitReport'
an aX control.


More likely there isn't one at the point where the code executes when
macro security is set to automatic. In manual mode there is plenty of
time to draw any controls before this VBA code executes, but there could
easily be a race condition if the macros are fully enabled.

The graphic engine in XL2007 is asynchoronous and very slow.

Regards,
Martin Brown
 
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
macro security settings nsr_rick Excel Discussion (Misc queries) 1 February 7th 08 01:06 AM
Macro Security Settings and C# Bernie Deitrick Excel Programming 1 December 8th 06 06:59 PM
Macro security settings Kelly[_3_] Excel Programming 1 August 12th 03 11:29 PM
Macro security settings steve Excel Programming 1 August 11th 03 09:00 PM
Macro security settings Tom Ogilvy Excel Programming 0 August 11th 03 07:41 PM


All times are GMT +1. The time now is 12:28 PM.

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

About Us

"It's about Microsoft Excel"