+ Reply to Thread
Results 1 to 4 of 4

Intersections

  1. #1
    Registered User
    Join Date
    09-10-2003
    Location
    London, UK
    Posts
    38

    Intersections

    Hi,

    Is there any way in which I could click in any cell on a workbook and the column would highlight up to that cell, and the row would also highlight up to that cell?

    It's something that might make data entry a lot easier when viewing a couple of documents at the same time!

    Dan.

  2. #2
    Anne Troy
    Guest

    Re: Intersections

    You could try something like this, Dan:
    http://www.cpearson.com/excel/RowLiner.htm
    ************
    Anne Troy
    www.OfficeArticles.com

    "Voodoodan" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Hi,
    >
    > Is there any way in which I could click in any cell on a workbook and
    > the column would highlight up to that cell, and the row would also
    > highlight up to that cell?
    >
    > It's something that might make data entry a lot easier when viewing a
    > couple of documents at the same time!
    >
    > Dan.
    >
    >
    > --
    > Voodoodan
    > ------------------------------------------------------------------------
    > Voodoodan's Profile:
    > http://www.excelforum.com/member.php...nfo&userid=597
    > View this thread: http://www.excelforum.com/showthread...hreadid=395322
    >




  3. #3
    Brian Synowiec
    Guest

    RE: Intersections

    Try putting this in ThisWorkbook module:

    Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target
    As Range)
    Sh.Cells.Interior.ColorIndex = xlNone
    If Target.Cells.Count = 1 Then
    With Rows(Target.Row).Interior
    .ColorIndex = 6
    .Pattern = xlSolid
    End With
    End If
    If Target.Cells.Count = 1 Then
    With Columns(Target.Column).Interior
    .ColorIndex = 6
    .Pattern = xlSolid
    End With
    End If
    End Sub


    "Voodoodan" wrote:

    >
    > Hi,
    >
    > Is there any way in which I could click in any cell on a workbook and
    > the column would highlight up to that cell, and the row would also
    > highlight up to that cell?
    >
    > It's something that might make data entry a lot easier when viewing a
    > couple of documents at the same time!
    >
    > Dan.
    >
    >
    > --
    > Voodoodan
    > ------------------------------------------------------------------------
    > Voodoodan's Profile: http://www.excelforum.com/member.php...nfo&userid=597
    > View this thread: http://www.excelforum.com/showthread...hreadid=395322
    >
    >


  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon Voododan

    It's certainly possible, although there are issues with running code that is constantly updated in that this would constantly clear the undo stack - if you make a mistake, there is no undo facility to fall back on. Chip Pearson provides a routine to run to do this here:

    http://www.cpearson.com/excel/excelM...ightActiveCell

    Although he has written an add-in that's much more enhanced - and free, so try that.

    HTH

    DominicB

+ 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