+ Reply to Thread
Results 1 to 2 of 2

select toolbar button from macro

Hybrid View

  1. #1
    jasminesy
    Guest

    select toolbar button from macro

    Is there anyway to select a tool bar button from within a macro?
    and if so, once you complete the command you are selecting, will it return
    to the original macro?

  2. #2
    Ron de Bruin
    Guest

    Re: select toolbar button from macro

    Maybe you can use execute
    This will open printpreview

    MsgBox "Hi"
    Application.CommandBars("Standard").FindControl(ID:=109).Execute
    MsgBox "Hi again"


    --
    Regards Ron de Bruin
    http://www.rondebruin.nl


    "jasminesy" <jasminesy@discussions.microsoft.com> wrote in message news:46FA5D07-46C6-48BD-B537-8AF101A5628B@microsoft.com...
    > Is there anyway to select a tool bar button from within a macro?
    > and if so, once you complete the command you are selecting, will it return
    > to the original macro?




+ 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