+ Reply to Thread
Results 1 to 4 of 4

find most right visible cell on screen

  1. #1
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    find most right visible cell on screen

    Hi guys and girls,

    since my users work with different resolutions, I want to find a way to detect which cell is the most right cell they can see on their screen / window.
    I don't care if it contains data - I just want to know which cell is the most right cell / column that the user can see in the current resolution / window size.

    Is there a way to detect that?

    Thanks for any help!

    Jasper

  2. #2
    Registered User
    Join Date
    06-16-2015
    Location
    USA
    MS-Off Ver
    MS Office 2010
    Posts
    28

    Re: find most right visible cell on screen

    Jasper,

    I dont believe that there is a way, but if you can figure out the ranges of the rightmost column at differet resolutions, you will know which column will work for everyone. Sorry there isn't a solution to your problem

  3. #3
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: find most right visible cell on screen

    Actually there is a way!
    Please Login or Register  to view this content.
    I adjusted it so that my shape is always at the right side of the screen, no matter the window size or which area is visible.
    I put the code into Worksheet_SelectionChange & Workbook_WindowResize
    Please Login or Register  to view this content.
    Works like a charm!
    (too bad I can't give rep to myself, haha!)

  4. #4
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: find most right visible cell on screen

    Nice one jasper!
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] find cell address, set screen
    By j_wst in forum Excel General
    Replies: 12
    Last Post: 02-15-2015, 05:53 PM
  2. [SOLVED] Highest Row from Range that is Visible on Screen
    By ffffloyd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-17-2013, 06:22 AM
  3. Keep subheaders visible at top of screen?
    By TelcoGuy in forum Excel General
    Replies: 1
    Last Post: 04-30-2013, 01:28 PM
  4. Viewing titles of worksheets not visible on screen?
    By Snark in forum Excel General
    Replies: 1
    Last Post: 07-16-2008, 06:12 PM
  5. Problem with .Visible and Screen View
    By dvent in forum Excel General
    Replies: 0
    Last Post: 01-04-2008, 10:37 AM

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