+ Reply to Thread
Results 1 to 10 of 10

Move Button To ActiveCell

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Move Button To ActiveCell

    Hi

    Is possible move Button to activecell?
    Please Login or Register  to view this content.
    thanks
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Move Button To ActiveCell

    Sure. This will move the command button to the active cell (the cell selected when you click the button)


    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Move Button To ActiveCell

    Display
    Runtime error '424'
    the object is required
    Yellow line
    Please Login or Register  to view this content.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Move Button To ActiveCell

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Move Button To ActiveCell

    Hi TMS.

    Very good!!!!!!!

    Thank you!!!

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Move Button To ActiveCell

    You're welcome. Thanks for the rep.

  7. #7
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2016
    Posts
    99

    Re: Move Button To ActiveCell

    I have a slightly different problem, and I'm just getting into programming, so I don't know what to actually use from above.

    I would like to press a command button and place the cursor/active input cell at a specific location so that information can THEN be input into those cells.

    I have looked this up, and "select" appears to be the wrong thing to learn. This code looks nice, but I get a syntax just copying and pasting. Which line do I change to make this work for my workbook?

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Move Button To ActiveCell

    @TRLWNC: in this instance, you would use Select.

    For example,
    Please Login or Register  to view this content.


    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  9. #9
    Forum Contributor
    Join Date
    03-12-2014
    Location
    Asheville, NC
    MS-Off Ver
    Excel 2016
    Posts
    99

    Re: Move Button To ActiveCell

    Sorry. I forgot. Thanks for the reply.

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Move Button To ActiveCell

    @TRLWNC: no worries

+ 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. Set Button as ActiveCell
    By gvaltat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-02-2014, 02:43 PM
  2. ActiveCell and command button help
    By clownfish in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2009, 02:19 PM
  3. [SOLVED] how to know be button in activecell
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-18-2006, 09:55 PM
  4. ActiveCell:move to another cell within a subtotal report within a macro
    By Dave Peterson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 09:05 AM
  5. [SOLVED] VB TAB doesn't move activecell??
    By Ben W in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2005, 12:06 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