Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Move cursor to A1 in all worksheets, relocate A1 to top right, sav

Is there a macro out there that performs these functions?
1. groups all worksheets in a workbook,
2. moves cursor to A1,
3. relocates A1 to top right of screen,
4. changes all pages to normal view,
5. Ungroups worksheets, and
6. Saves file
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Move cursor to A1 in all worksheets, relocate A1 to top right, sav

This should be close...

Sub FormatSheets()
Dim wks As Worksheet

For Each wks In Worksheets
If wks.Visible = xlSheetVisible Then
wks.Select
With wks.Range("A1")
.Select
.Show
End With
ActiveWindow.View = xlNormalView
End If
Next wks
ThisWorkbook.Save
End Sub
--
HTH...

Jim Thomlinson


"Emangino" wrote:

Is there a macro out there that performs these functions?
1. groups all worksheets in a workbook,
2. moves cursor to A1,
3. relocates A1 to top right of screen,
4. changes all pages to normal view,
5. Ungroups worksheets, and
6. Saves file

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
move cursor on one sheet moves cursor on all sheets tdworden Excel Discussion (Misc queries) 2 July 22nd 07 10:50 PM
Move cursor to next row Hank Excel Discussion (Misc queries) 1 August 4th 06 09:56 PM
move cursor Peter[_55_] Excel Programming 7 September 26th 05 06:41 PM
Move Cursor to A1 Silver Excel Discussion (Misc queries) 3 January 7th 05 02:49 PM
HOW TO MOVE CURSOR Fernando Duran Excel Programming 2 September 17th 03 06:55 PM


All times are GMT +1. The time now is 12:06 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"