PC Review


Reply
Thread Tools Rate Thread

Address of first visible cell

 
 
=?Utf-8?B?SmFrb2JzaGF2biBJc2JyYWU=?=
Guest
Posts: n/a
 
      7th Apr 2007
How can I determine the address of the first visible cell in the active
worksheet?

That is the cell in the top, left-hand, corner that is visible in the
worksheet's current, scrolled, state?

Thanks for any help or suggestions
--
jake
 
Reply With Quote
 
 
 
 
Norman Jones
Guest
Posts: n/a
 
      7th Apr 2007
Hi Jake,

Try:


'=============>>
Public Sub Tester()
Dim Rng As Range

Set Rng = ActiveWindow.VisibleRange.Cells(1)
MsgBox Rng.Address

End Sub
'<<=============


---
Regards,
Norman


"Jakobshavn Isbrae" <(E-Mail Removed)> wrote in
message news:64A0C725-2E11-44BA-8235-(E-Mail Removed)...
> How can I determine the address of the first visible cell in the active
> worksheet?
>
> That is the cell in the top, left-hand, corner that is visible in the
> worksheet's current, scrolled, state?
>
> Thanks for any help or suggestions
> --
> jake



 
Reply With Quote
 
=?Utf-8?B?SmFrb2JzaGF2biBJc2JyYWU=?=
Guest
Posts: n/a
 
      7th Apr 2007
Perfect - thank you very much.
--
jake


"Norman Jones" wrote:

> Hi Jake,
>
> Try:
>
>
> '=============>>
> Public Sub Tester()
> Dim Rng As Range
>
> Set Rng = ActiveWindow.VisibleRange.Cells(1)
> MsgBox Rng.Address
>
> End Sub
> '<<=============
>
>
> ---
> Regards,
> Norman
>
>
> "Jakobshavn Isbrae" <(E-Mail Removed)> wrote in
> message news:64A0C725-2E11-44BA-8235-(E-Mail Removed)...
> > How can I determine the address of the first visible cell in the active
> > worksheet?
> >
> > That is the cell in the top, left-hand, corner that is visible in the
> > worksheet's current, scrolled, state?
> >
> > Thanks for any help or suggestions
> > --
> > jake

>
>
>

 
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
Re: Excel Select All Visible Merged cell then Spread Cell Data Bernie Deitrick Microsoft Excel Programming 2 7th Oct 2008 04:33 PM
Extend visible cell text over adjacent cell paulkaye Microsoft Excel Discussion 4 12th Jul 2007 08:38 AM
Address field is not visible in Address Card View =?Utf-8?B?RG9uIEs=?= Microsoft Outlook Contacts 0 20th Apr 2007 01:36 PM
VBA to address first visible cell in Column "D" after filtering EagleOne Microsoft Excel Misc 2 11th Dec 2006 05:22 PM
By VBA , how to select the first visible cell (of first Visible row ) in filtered wor Amolin Microsoft Excel Misc 4 30th Jul 2004 12:41 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:10 AM.