View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kate Kate is offline
external usenet poster
 
Posts: 35
Default scroll window to display selected cell in visible area?

Hi, does anyone have any good code for positioning the
window so that a cell which was selected via code will be in
the visible area? I have set the scrollarea for each tab on
my sheet, so I can't use the application.goto method to
position the selected cell at the upper left, if it's the
last cell in the scroll area range. This is part of a
validity check routine that looks for missing data. I'm
telling the user that the cursor is located where the
problem is, but it is often off-screen!! I'm using Excel
2003 sp1.

Thanks in advance,
Kate