+ Reply to Thread
Results 1 to 5 of 5

If Macro Button Clicked

  1. #1
    Registered User
    Join Date
    11-12-2015
    Location
    Cheshire, England
    MS-Off Ver
    2007
    Posts
    10

    If Macro Button Clicked

    Hi there,

    I am looking to create cell content in let's say cell A1 if a macro button in the same sheet has been clicked.

    Is anyone able to help please?

    Thanks very much.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If Macro Button Clicked

    Hi,

    Perhaps the simplest way is to insert a Shape button
    Create a macro like the following

    Please Login or Register  to view this content.
    Then right click the shape Choose Assign macro and select the procedure above.
    , right click the shape click
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: If Macro Button Clicked

    Maybe:

    Please Login or Register  to view this content.
    If A1 is double clicked then input is cell content?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: If Macro Button Clicked

    Thanks for the rep.

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: If Macro Button Clicked

    Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro button can not be pressed or clicked
    By associates in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2014, 02:47 AM
  2. [SOLVED] How to make a non-macro button/checkbox that when clicked will copy value out of that cell
    By ladydubs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2013, 12:44 PM
  3. Run-time error 70 when button is clicked to run macro that opens email
    By blacklotus0014 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-02-2013, 09:54 AM
  4. [SOLVED] Select column A's cell in relation to the row that macro button was clicked on?
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2013, 12:24 PM
  5. Modifying a Macro Button to time stamp when the button was clicked.
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-22-2010, 04:46 PM
  6. Run macro with value based on button clicked
    By booo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-16-2010, 04:33 PM
  7. Run a macro when print button is clicked
    By just_some_guy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2010, 12:40 PM

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