+ Reply to Thread
Results 1 to 2 of 2

VBA to automatically move command button to another cell after being clicked on

  1. #1
    Registered User
    Join Date
    08-16-2012
    Location
    US
    MS-Off Ver
    Excel 2007
    Posts
    13

    VBA to automatically move command button to another cell after being clicked on

    Hello,

    I'm creating a command button and placing it into a cell in the first column to automatically insert data into that cell. After the command button is clicked on, I would like for it to populate that cell and then have the command button move down to the first empty cell in that column. Also, if the last cell that was filled by the command button is deleted, I would like for the command button to move back to that cell which is now empty. I hope that made sense. Is it possible to create a worksheet change event for this? Thanks in advance.
    Last edited by vaznlyfe; 08-23-2012 at 11:23 AM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: VBA to automatically move command button to another cell after being clicked on

    It would be much easier if you supplied a sample workbook that showed what you have and explained the results you wanted.

    You can attach a sample file by clicking on "Go Advanced" below the message area and then on the Paper Clip Icon above the advanced message area.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ 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