Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
If you put it in this one instead it will fire every time you change cells
in the active sheet. Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) Sheets.Select ActiveCell.EntireRow.Select ActiveSheet.Select End Sub -- Don Guillett SalesAid Software "saranat" wrote in message ... I have 7 worksheets in a workbook. all the worksheets have a lastname, firstname, employee ID in the A,B,C columns of every worksheet. I need to synchronize the worksheets so that when I click on an employee name in any worksheet and select a different worksheet I see the same row as the original employee name. |
#2
![]() |
|||
|
|||
![]()
Sorry. I'm not sure I understrand where to put the code.could you explain
again? don "Don Guillett" wrote: If you put it in this one instead it will fire every time you change cells in the active sheet. Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) Sheets.Select ActiveCell.EntireRow.Select ActiveSheet.Select End Sub -- Don Guillett SalesAid Software "saranat" wrote in message ... I have 7 worksheets in a workbook. all the worksheets have a lastname, firstname, employee ID in the A,B,C columns of every worksheet. I need to synchronize the worksheets so that when I click on an employee name in any worksheet and select a different worksheet I see the same row as the original employee name. |
#3
![]() |
|||
|
|||
![]()
Think Don G. posted this instruction in his first response
try this by right click on excel icon in upper left of workbook(next to FILE) insert this Maybe try these steps to get it up: Right-click on the Excel icon in the upper left corner (Next to "File") Choose "View Code" (this'll bring you to VBE) Clear the defaults** appearing in the whitespace on the right Then copy paste Don G's code in the whitespace (You'd need to correct the line-wrap for the first line after you copy and paste) Press Alt+Q to get back to Excel ----------------- **Defaults : "Private Sub Workbook_Open() ... End Sub" ----------------- In Excel, try it out by selecting a cell say, A2 in Sheet1 The entire row2 will be selected (i.e. highlighted) Click on Sheet2's tab, the same row2 will be selected Ditto when you click on Sheet3, etc -- Rgds Max xl 97 --- GMT+8, 1° 22' N 103° 45' E xdemechanik <atyahoo<dotcom ---- "don" wrote in message ... Sorry. I'm not sure I understrand where to put the code. could you explain again? don |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel, multiple worksheets | Excel Discussion (Misc queries) | |||
how do I arrange multiple worksheets from the same workbook | Excel Discussion (Misc queries) | |||
Excel gets subtotals out of order using multiple sorts and subtot. | Excel Discussion (Misc queries) | |||
Finding Data in multiple worksheets | Excel Discussion (Misc queries) | |||
adding certain cells in multiple worksheets in multiple workbooks | Excel Worksheet Functions |