+ Reply to Thread
Results 1 to 4 of 4

Screen position

  1. #1
    Registered User
    Join Date
    04-30-2004
    Posts
    78

    Screen position

    I would like to end a macro with a specific cell (e.g. E50) in the first cell in the upper left hand corner of the screen. How might I accomplish this?

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Screen position

    Hello nebb,

    Like this...
    Please Login or Register  to view this content.
    Or if you rather have the VBA translate the row and column from a given cell. Change "E50" to whatever address you want.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Screen position

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-30-2004
    Posts
    78

    Re: Screen position

    To Leith Ross: Thanks for your reply. Your second suggestion worked great. The first one gave me a run-time error 1004 on " .ScrollColumn = E" and indicated "unable to set the ScrollColumn property of the window class".
    To Palmetto: Thank you also for your reply. worked great.

+ 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