+ Reply to Thread
Results 1 to 5 of 5

Show a label to identify a row

  1. #1
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Show a label to identify a row

    I have n rows of data with many columns, I need to scroll the row to see all of the columns.

    Is there a way, VBA code I assume, to hover or click on a any row cell and get a label that shows the row date, which is in column C, so I know that I am on the correct row while looking at the data, without going back to the beginning of the row to check? I would prefer not to use the split screen mode.

  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: Show a label to identify a row

    Hi,

    This sheet right click event will pop up a message box with the date.

    Please Login or Register  to view this content.
    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
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Show a label to identify a row

    Thanks Richard, worked great. How would I restrict the action to a range or to only certain columns within a range. I would want the right click context menu available directly in other parts of the worksheet or range.

  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: Show a label to identify a row

    Hi,

    You could restrict to specific columns with the modification below. As an example this restricts the macro to columns F:I & M:P. Change as necessary.
    If you want to restrict to rows & columns then just build in the row numbers as well


    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-18-2012
    Location
    Los Angeles USA
    MS-Off Ver
    Excel Office 365
    Posts
    80

    Re: Show a label to identify a row

    Thanks Richard, perfect, couldn't find where to mark it solved.

+ 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. Not to show axis label if value is zero
    By akhileshgs in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-10-2013, 08:36 AM
  2. [SOLVED] Show label in UserForm
    By jdasp49 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-16-2013, 09:30 AM
  3. Show label when cell value
    By Svanis75 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-18-2010, 03:13 AM
  4. dialog box (identify label) causing macro to stall
    By ozy pete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2010, 01:10 PM
  5. [SOLVED] label does not show???
    By mark kubicki in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-18-2005, 03: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