+ Reply to Thread
Results 1 to 5 of 5

Link command button to row in table

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Link command button to row in table

    Hello there,

    Can anyone tell me if I can link a Command button to a row in a table? So that when rearranging the rows the command buttons move appropriately.

    You see, I have a macro to insert data from the active WS to a table in Sheet.1 and what I really need is:
    - To create a command button on the row of data on Sheet.1 enabling me to "go to page" where the data came from.

    I have a "go to page" macro here using data from Cell A1 as reference.
    However, what I need is for the [Range("A1")] part of this code below to become the Sheet.Name of the target worksheet.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Link command button to row in table

    May be like this...

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Link command button to row in table

    Ok, thanks. I'll see if I can get that to work.

    Have you any thoughts on the formatting side? i.e. linking the command button to a specific row in the table

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Link command button to row in table

    Quote Originally Posted by r2fro View Post
    Have you any thoughts on the formatting side?
    Please brief it

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    54

    Re: Link command button to row in table

    Well, in my workbook I have many, many "property Sheets". Each sheet has a mass of information, some of which will be displayed on the front page.

    I have a macro for transfering the slect data to the front page (attached to a command button) - i'm designing this for someone else to use so It has to look simple simon
    When I activate the "transfer data" macro I want to create a command button next to the row of data entered on the front page. The command button's purpose is to enable jumping between the front page and the target "property Sheet" easy peasy.

    Can the command button be linked to the row of data so that when sorting the rows they move accordingly?

    The "property Sheets" are named according to the information in cells A1 & B1, separated by a comma:

    Please Login or Register  to view this content.
    Last edited by r2fro; 12-23-2013 at 10:24 AM.

+ 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. link Command button to row.
    By milo1984 in forum Excel General
    Replies: 2
    Last Post: 12-07-2013, 10:41 AM
  2. command button that link to the sheet
    By albert28 in forum Excel General
    Replies: 1
    Last Post: 07-29-2013, 06:06 AM
  3. Command button to change picture link
    By sumonrezadu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2013, 04:19 AM
  4. Can you have Text Link that acts like command button
    By Patchworks in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-15-2009, 06:15 AM
  5. Replies: 1
    Last Post: 03-09-2006, 08:30 AM

Tags for this Thread

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