+ Reply to Thread
Results 1 to 5 of 5

Intercept the call to the toolbar "Sort" button...

  1. #1
    Registered User
    Join Date
    11-08-2004
    Posts
    41

    Lightbulb Intercept the call to the toolbar "Sort" button...

    Hi All,

    Not sure if this is doable, but I'd like to be able to run some user code (select range, adjust rowheight, cell color, etc.) when I click on the "Sort" button on the toolbar. Can this be done without an API call? Excel 2002 here...

    Thanks!

    Russ

  2. #2
    Registered User
    Join Date
    11-08-2004
    Posts
    41

    Re: Would like to intercept the call to the toolbar "Sort" button...

    OK, so it's not possible to do this? I have since added a "sort" button with applicable code to each page, but that's kinda clunky looking...

    Russ

  3. #3
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Would like to intercept the call to the toolbar "Sort" button...

    Is there a reason for not just adding your own button to the toolbar instead?
    Remember what the dormouse said
    Feed your head

  4. #4
    Registered User
    Join Date
    11-08-2004
    Posts
    41

    Re: Would like to intercept the call to the toolbar "Sort" button...

    Quote Originally Posted by romperstomper View Post
    Is there a reason for not just adding your own button to the toolbar instead?
    MERRY CHRISTMAS!

    I ended up adding a button to each page (truthfully, I hadn't thought of a macro button), but will try that. Was only hoping to KISS at least as far as the interface goes...

    Russ

  5. #5
    Registered User
    Join Date
    11-08-2004
    Posts
    41

    Re: Would like to intercept the call to the toolbar "Sort" button...

    Thanks, RS! A much more elegant solution than having a button on each page...

    Russ

+ 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