+ Reply to Thread
Results 1 to 2 of 2

Timer for VB code

  1. #1
    Registered User
    Join Date
    12-26-2010
    Location
    Ohio
    MS-Off Ver
    Excel 2003 and 07
    Posts
    16

    Timer for VB code

    I that a code that is called " BreakoutReDux" I run the macro when needed. Is there a way to put a timer on here to run this macro say 10 seconds after the workbook opens? I have this but it does not work. Thanks

    Please Login or Register  to view this content.
    I put it above the code on the same general module.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,762

    Re: Timer for VB code

    The code you showed above is correct. It must be put in the Workbook code, not a Module or Worksheet code. What do you mean "the same general module"?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1