PC Review


Reply
Thread Tools Rate Thread

address of activecell in another sheet

 
 
Stefi
Guest
Posts: n/a
 
      5th Mar 2008
Hi All,

Is there a simple way to retrive the address of activecell in a sheet which
is not the active sheet?

Thanks,
Stefi

 
Reply With Quote
 
 
 
 
Gary''s Student
Guest
Posts: n/a
 
      5th Mar 2008
Sub get_it()
Set whereami = ActiveSheet
Sheets("Sheet2").Activate
MsgBox (ActiveCell.Address)
whereami.Activate
End Sub

--
Gary''s Student - gsnu200771
 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      5th Mar 2008
Thanks! I was not specific enough, I hoped that there is a simpler way than
that. I'm satisfied because there is not an additional lack of my knowledge.
Stefi


„Gary''s Student” ezt *rta:

> Sub get_it()
> Set whereami = ActiveSheet
> Sheets("Sheet2").Activate
> MsgBox (ActiveCell.Address)
> whereami.Activate
> End Sub
>
> --
> Gary''s Student - gsnu200771

 
Reply With Quote
 
Henn Sarv
Guest
Posts: n/a
 
      5th Mar 2008
Not only

Quite funny and useless Worksheet function:

Function ACEll() As String
Application.Volatile (True)
Dim s As Worksheet
Set s = ActiveSheet
ActiveWorkbook.ActiveSheet.Select
ACEll = ActiveSheet.Name + "!" + ActiveCell.Address()
s.Select
End Function

Try - this really works

Henn

"Stefi" <(E-Mail Removed)> kirjutas sõnumis
news:767B56EC-12AD-47D3-A8A5-(E-Mail Removed)...
> Thanks! I was not specific enough, I hoped that there is a simpler way
> than
> that. I'm satisfied because there is not an additional lack of my
> knowledge.
> Stefi
>
>
> „Gary''s Student” ezt *rta:
>
>> Sub get_it()
>> Set whereami = ActiveSheet
>> Sheets("Sheet2").Activate
>> MsgBox (ActiveCell.Address)
>> whereami.Activate
>> End Sub
>>
>> --
>> Gary''s Student - gsnu200771


 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      5th Mar 2008
Thanks, Henn, I'll give it a try tomorrow!
Stefi


„Henn Sarv” ezt *rta:

> Not only
>
> Quite funny and useless Worksheet function:
>
> Function ACEll() As String
> Application.Volatile (True)
> Dim s As Worksheet
> Set s = ActiveSheet
> ActiveWorkbook.ActiveSheet.Select
> ACEll = ActiveSheet.Name + "!" + ActiveCell.Address()
> s.Select
> End Function
>
> Try - this really works
>
> Henn
>
> "Stefi" <(E-Mail Removed)> kirjutas sõnumis
> news:767B56EC-12AD-47D3-A8A5-(E-Mail Removed)...
> > Thanks! I was not specific enough, I hoped that there is a simpler way
> > than
> > that. I'm satisfied because there is not an additional lack of my
> > knowledge.
> > Stefi
> >
> >
> > „Gary''s Student” ezt *rta:
> >
> >> Sub get_it()
> >> Set whereami = ActiveSheet
> >> Sheets("Sheet2").Activate
> >> MsgBox (ActiveCell.Address)
> >> whereami.Activate
> >> End Sub
> >>
> >> --
> >> Gary''s Student - gsnu200771

>
>

 
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
copy the value of the activecell on sheet1 to the same address on sheet 2 Maxx Microsoft Excel Programming 2 5th Apr 2008 02:55 AM
RE: Selecting Activecell in hidden sheet =?Utf-8?B?SmltIFRob21saW5zb24=?= Microsoft Excel Programming 0 14th Dec 2006 11:25 PM
Re: Selecting Activecell in hidden sheet Don Guillett Microsoft Excel Programming 1 14th Dec 2006 10:36 PM
Equivalent of ActiveCell for sheet that is not ActiveSheet =?Utf-8?B?SmVycnkgVy4gTGV3aXM=?= Microsoft Excel Programming 13 12th Nov 2006 02:54 PM
Return Activecell row number from another sheet =?Utf-8?B?cXVhcnR6?= Microsoft Excel Programming 2 14th Apr 2005 10:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:03 AM.