×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

No SheetActivate event generated by Excel

No SheetActivate event generated by Excel

No SheetActivate event generated by Excel

(OP)
Excel doesn't always generate a SheetActivate event when a sheet's tab is selected.  This is causing me problems.  Does anyone know a workaround?  The following steps reproduce my problem:

a)  click on cell A1 on Sheet 1 and enter "="
b)  click on the tab for Sheet 2
c)  click on cell A2
d)  hit the "Enter" key

At this point cell A1 on Sheet 1 is equal to cell A2 on Sheet 2.  However, no SheetActivate event (or any other event for that matter) was generated on step "b".  This is causing me problems.

In my particular application the cells of Sheet 2 may be updated at any time.  If they happen to be updated at the time steps "b" or "c" are being performed, Excel locks up completely.  If I could intercept through *any* event (SheetActivate event or otherwise) when step "b" occurred, I could prevent the cells from being updated on Sheet 2.  But I can't since Excel didn't generate any events!

Any ideas?

Thanks,

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources