Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Custom View - TEASER

Can anyone help?

I need code to put in the Worksheet_Activate event procedure
Range "A1:M30" contains various controls.
I'd like it so that whenever anyone activates this sheet they can see
all the controls in "A1:M30"(PROBLEM IS THAT DIFFERENT PEOPLE HAVE
DIFFERENT NUMBERS OF TOOLBARS IN USE)
Probably 2 approaches:

1.Strip out all toolbars apart from the main one, only problem with
this is I don't know how to get things back to how the user had then
configured before they activated the sheet!

2.Somehow find the size of the users screen and make the range
"A1:M30" fit to that.

Any help greatly appreciated
Jason
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Custom View - TEASER


Here's how to do the second option:

Range("A1:M30").Select
ActiveWindow.Zoom = True
Range("A1").Select

The first option can be done (you just need to save what toolbars wer
up on another sheet and put them back before the workbook closes).
I've tried this before, and depending on how the user uses excel the
may not like it...



--
kkkni
-----------------------------------------------------------------------
kkknie's Profile: http://www.excelforum.com/member.php...nfo&userid=754
View this thread: http://www.excelforum.com/showthread.php?threadid=26545

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 104
Default Custom View - TEASER

Cheers matey - as simple as that hey!..great stuff!
Might avoid the other option for the time being as it might upset some
users if anything goes wrong and they are left having to sort out
their toolbars from a fresh!

kkknie wrote in message ...
Here's how to do the second option:

Range("A1:M30").Select
ActiveWindow.Zoom = True
Range("A1").Select

The first option can be done (you just need to save what toolbars were
up on another sheet and put them back before the workbook closes).
I've tried this before, and depending on how the user uses excel they
may not like it...

K

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
Custom EXCEL chart value axis BRAIN TEASER MikeM_work Charts and Charting in Excel 1 September 8th 08 06:49 PM
View Custom View with Sheet Protection John H[_2_] New Users to Excel 1 February 16th 07 05:54 PM
How to view a custom view when the worksheet is protected? JulesJam Excel Worksheet Functions 0 March 6th 06 02:15 PM
Missing "Custom View" entry from View menu mycroft777 Excel Discussion (Misc queries) 1 February 3rd 06 05:33 PM
Custom View Bug? [email protected] Excel Discussion (Misc queries) 7 November 15th 05 07:45 PM


All times are GMT +1. The time now is 11:22 AM.

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

About Us

"It's about Microsoft Excel"