+ Reply to Thread
Results 1 to 2 of 2

How to add a button in excel 2007

  1. #1
    Registered User
    Join Date
    05-27-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    22

    How to add a button in excel 2007

    Hi every one,

    I have two workbooks one is the source which has a large data and the other is the destionation, I even have the code which transfers the data from the source to destination, (I open the two files press Alt+F11, paste the code and when I click 'run' in the VBA editor the data gets transfered.)

    Is there any way I can create a button in my destination workbook so that with the click of the button i can run the code?

    Thanks
    Ram

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to add a button in excel 2007

    In Excel 2007, click on the Developer Tab, click on Insert, click on Button(form control). Draw the button on the worksheet. Right click on the edge of the Button and assign your existing macro to the button. Click outside of the button (to deselect). Click on the button and it will run your macro.

    Hope this helps.

    J

+ 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