+ Reply to Thread
Results 1 to 2 of 2

screen position indication?

  1. #1
    nastech
    Guest

    screen position indication?

    is there a way to identify the location of where your screen is scrolled to? /
    top / bottom of view. thanks

    looking for a way to find a row number for formula's.

  2. #2
    Dave Peterson
    Guest

    Re: screen position indication?

    Like:

    Option Explicit
    Sub testme()

    Dim myVRng As Range
    Set myVRng = ActiveWindow.VisibleRange

    With myVRng
    MsgBox .Address & vbLf & .Row & vbLf & .Cells(.Cells.Count).Row
    End With

    End Sub

    But I'm not sure I've ever depended on what the activewindow was looking at.

    If you're looking for the row of the activecell, you can use
    activecell.row



    nastech wrote:
    >
    > is there a way to identify the location of where your screen is scrolled to? /
    > top / bottom of view. thanks
    >
    > looking for a way to find a row number for formula's.


    --

    Dave Peterson

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1