+ Reply to Thread
Results 1 to 3 of 3

Row and reference of a button

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2003
    Posts
    1

    Row and reference of a button

    I have scanned the forum and cannot seem to get a simple answer on how to do this, sorry i am only a newbie programmer.

    I have a button that when pressed i would like to perform serveral actions based on the reference of the button. How can i get this?

    Ultimately when the button is pressed i would like to insert a row where the button is located, copy cells along this row, and delete rows relative to this button.

    Thanks in advance for your help.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Row and reference of a button

    One way to do this is to add a comment to the cell in which the button sits and have the name of the button as the comment text.

    e.g.

    Please Login or Register  to view this content.
    and the comment is Button 1
    Martin

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,438

    Re: Row and reference of a button

    Some previous posts on similar topic

    http://www.excelforum.com/excel-prog...-the-code.html
    http://www.excelforum.com/excel-prog...elete-row.html
    Cheers
    Andy
    www.andypope.info

+ 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