Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I would likel to retrieve the position of the cell that would be current if I activate a particuler sheet. My scenario is : - updating something in the current sheet hides rows in another sheet - if a row I hide contains the "current cell", the method fails. I see Application.ActiveCell but that is the cell that has the focus in the current sheet. I would like to get the cell that would have the focus in another sheet that is currently not activated. TIA -- Patrice |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Solved. Actually I don't need any more this info in my scenario (not sure if
usefull on some other occasion ?) -- Patrice "Patrice" a écrit dans le message de news: ... Hi, I would likel to retrieve the position of the cell that would be current if I activate a particuler sheet. My scenario is : - updating something in the current sheet hides rows in another sheet - if a row I hide contains the "current cell", the method fails. I see Application.ActiveCell but that is the cell that has the focus in the current sheet. I would like to get the cell that would have the focus in another sheet that is currently not activated. TIA -- Patrice |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For future reference, there is no active cell or current cell in a closed
workbook. The workbook must be open for either to be used as a reference. All references from an active workbook to a closed workbook must be explicit. "Patrice" wrote: Hi, I would likel to retrieve the position of the cell that would be current if I activate a particuler sheet. My scenario is : - updating something in the current sheet hides rows in another sheet - if a row I hide contains the "current cell", the method fails. I see Application.ActiveCell but that is the cell that has the focus in the current sheet. I would like to get the cell that would have the focus in another sheet that is currently not activated. TIA -- Patrice |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Change default in input box from "20" to "000000"? Have macro continue on to name sheet tab? | Excel Programming | |||
Application.Goto Reference:="ActiveCell.Value"??? Whats wrong?? | Excel Programming | |||
Please add a "sheet" function like "row" and "column" functions | Excel Programming | |||
XP VBA: Range("A2", ActiveCell.SpecialCells(xlLastCell)).Select | Excel Programming |