+ Reply to Thread
Results 1 to 3 of 3

Button to run a macro

  1. #1
    Registered User
    Join Date
    03-29-2005
    Posts
    48

    Cool Button to run a macro

    I would like to insert a button in cell a3 of my spreadsheet that will run a macro that makes the spreadsheet adjust to a certain print area. I have the macro already but I am not sure how to get the button into the cell to run the macro. Any ideas?

    Thanks,

  2. #2
    Forum Expert Simon Lloyd's Avatar
    Join Date
    03-02-2004
    Location
    locked in the cage
    MS-Off Ver
    All the ones my homepage shows
    Posts
    3,161
    Why have a button at all?, if you always want to use A3 just colour it add some text then in the worksheet module:
    Please Login or Register  to view this content.
    now whenever A1 is selected the macro will run!
    Not all forums are the same - seek and you shall find

  3. #3
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Alternatively, you create an autoshape from the draw menu, any gif/jpeg will also work and insert it in your sheet then right click on it and select "assign macro".
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

+ 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