+ Reply to Thread
Results 1 to 5 of 5

Calling btn_Click event from different sheets

  1. #1
    Registered User
    Join Date
    10-11-2007
    Posts
    14

    Calling btn_Click event from different sheets

    Hello,

    I was wondering if there is a way to call the btn_click event from different worksheets. I have a main sheet and when the user changes currencies i would like to automatically have a certain button pressed from different worksheets. I have tried recording this as a macro but all that appears is the sheet change. Any ideas?

    Thanks,

    Sassy

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    A button from the Controls toolbox?

  3. #3
    Registered User
    Join Date
    10-11-2007
    Posts
    14
    Yes, they are from the controls toolbox. They are calculate buttons...I called both of them btnCalculate as they are on different worksheets.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Rather than calling the click event for a button on another sheet, have the click event call a routine in a code module (which is better practice anyway). Then buttons on other sheets can call the same routine.

  5. #5
    Registered User
    Join Date
    10-11-2007
    Posts
    14
    Yeah I guess you are right, that works too. Just looking for the easiest way out :P

    Thanks

+ 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