PC Review


Reply
Thread Tools Rate Thread

Active Cell in Non-Active Worksheet

 
 
Jack Cannon
Guest
Posts: n/a
 
      13th Apr 2009
How does one get the row number of an active cell in a non-active worksheet?

For example if I am in Sheet2 and I wish to obtain the row number of the
active cell in Sheet 1 then what instruction will get it?

I am looking for something like:
=CELL("Row", Sheet1!ActiveCell)

Jack Cannon
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      14th Apr 2009
You don't have to worry about it. You cannot have an active cell in a non
active worksheet.



"Jack Cannon" <(E-Mail Removed)> wrote in message
news:B547DDB6-2CD4-4021-94FE-(E-Mail Removed)...
> How does one get the row number of an active cell in a non-active
> worksheet?
>
> For example if I am in Sheet2 and I wish to obtain the row number of the
> active cell in Sheet 1 then what instruction will get it?
>
> I am looking for something like:
> =CELL("Row", Sheet1!ActiveCell)
>
> Jack Cannon



 
Reply With Quote
 
Jack Cannon
Guest
Posts: n/a
 
      14th Apr 2009
Perhaps my terminology is wrong.

I am just trying to determine which cell has the focus or is highlighted and
do it from a different worksheet.


"JLGWhiz" wrote:

> You don't have to worry about it. You cannot have an active cell in a non
> active worksheet.
>
>
>
> "Jack Cannon" <(E-Mail Removed)> wrote in message
> news:B547DDB6-2CD4-4021-94FE-(E-Mail Removed)...
> > How does one get the row number of an active cell in a non-active
> > worksheet?
> >
> > For example if I am in Sheet2 and I wish to obtain the row number of the
> > active cell in Sheet 1 then what instruction will get it?
> >
> > I am looking for something like:
> > =CELL("Row", Sheet1!ActiveCell)
> >
> > Jack Cannon

>
>
>

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      14th Apr 2009
If a sheet is not active, no cells have focus, none are active, none are
selected. You cannot use those properties on an inactive sheet. You can
use specific range references to add data, extract data copy and paste.


"Jack Cannon" <(E-Mail Removed)> wrote in message
news:4FC8C51B-842E-4970-93CF-(E-Mail Removed)...
> Perhaps my terminology is wrong.
>
> I am just trying to determine which cell has the focus or is highlighted
> and
> do it from a different worksheet.
>
>
> "JLGWhiz" wrote:
>
>> You don't have to worry about it. You cannot have an active cell in a
>> non
>> active worksheet.
>>
>>
>>
>> "Jack Cannon" <(E-Mail Removed)> wrote in message
>> news:B547DDB6-2CD4-4021-94FE-(E-Mail Removed)...
>> > How does one get the row number of an active cell in a non-active
>> > worksheet?
>> >
>> > For example if I am in Sheet2 and I wish to obtain the row number of
>> > the
>> > active cell in Sheet 1 then what instruction will get it?
>> >
>> > I am looking for something like:
>> > =CELL("Row", Sheet1!ActiveCell)
>> >
>> > Jack Cannon

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If Worksheet Active, Go To Cell A1 G Microsoft Excel Programming 1 1st Apr 2009 11:56 AM
Put Active Worksheet's Name in a Cell coreymartin@gmail.com Microsoft Excel Discussion 2 6th Jan 2006 07:12 PM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Programming 1 25th Feb 2004 04:26 AM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Worksheet Functions 1 25th Feb 2004 04:26 AM
Place The Contents Of A Cell From The Active Worksheet Into A Cell On An Inavtive Worksheet Minitman Microsoft Excel Misc 1 25th Feb 2004 04:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:13 PM.