Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 126
Default Controlling Screen View

Hi

Could someone help with this please?

I have to run a macro by clicking a rectangle in sheet 1.

After doing a few things it has to end by selecting cells(1,1) in sheet 3.

The problem is the following;

Say when sheet 3 was worked last by somebody he saved and closed it after
working in the FA1:FH10 area.

Now if I run my macro of course it selects cells(1,1) but the screen lies
around FA1:FA10 area. I have to scroll leftwards manually to see cells(1,1).

Kind Regards

M Varnendra

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Controlling Screen View

Try

Application.Goto Range("A1"), True

Mike

"Varne" wrote:

Hi

Could someone help with this please?

I have to run a macro by clicking a rectangle in sheet 1.

After doing a few things it has to end by selecting cells(1,1) in sheet 3.

The problem is the following;

Say when sheet 3 was worked last by somebody he saved and closed it after
working in the FA1:FH10 area.

Now if I run my macro of course it selects cells(1,1) but the screen lies
around FA1:FA10 area. I have to scroll leftwards manually to see cells(1,1).

Kind Regards

M Varnendra

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Controlling Screen View

Application.Goto Reference:=Worksheets("Sheet3").Range("A1"), scroll:=True

--
Gary''s Student - gsnu200797


"Varne" wrote:

Hi

Could someone help with this please?

I have to run a macro by clicking a rectangle in sheet 1.

After doing a few things it has to end by selecting cells(1,1) in sheet 3.

The problem is the following;

Say when sheet 3 was worked last by somebody he saved and closed it after
working in the FA1:FH10 area.

Now if I run my macro of course it selects cells(1,1) but the screen lies
around FA1:FA10 area. I have to scroll leftwards manually to see cells(1,1).

Kind Regards

M Varnendra

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 126
Default Controlling Screen View

Hi

That works.

Thank you very much. Have a good day.

M Varnendra



"Gary''s Student" wrote:

Application.Goto Reference:=Worksheets("Sheet3").Range("A1"), scroll:=True

--
Gary''s Student - gsnu200797


"Varne" wrote:

Hi

Could someone help with this please?

I have to run a macro by clicking a rectangle in sheet 1.

After doing a few things it has to end by selecting cells(1,1) in sheet 3.

The problem is the following;

Say when sheet 3 was worked last by somebody he saved and closed it after
working in the FA1:FH10 area.

Now if I run my macro of course it selects cells(1,1) but the screen lies
around FA1:FA10 area. I have to scroll leftwards manually to see cells(1,1).

Kind Regards

M Varnendra

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Full Screen View j_cavanagh Excel Discussion (Misc queries) 5 April 12th 08 12:48 AM
on-screen view ap_switzerland Excel Discussion (Misc queries) 1 January 14th 08 04:17 PM
Row always in screen view utcam03 Excel Discussion (Misc queries) 4 February 2nd 07 02:37 PM
Why can I only view my spreadsheet in full screen gloria81101 Excel Discussion (Misc queries) 1 October 14th 05 07:00 PM
same screen view frendabrenda1 Excel Discussion (Misc queries) 2 September 9th 05 02:23 PM


All times are GMT +1. The time now is 07:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"