Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Screen size and Window size

I have designed several programs on my PC with the worksheets sized to fit my
screen size. My problem is that when I run them on another Pc with a
different screen size they are either too big or small accordingly. I have a
cmd button on each sheet that opens the zoom dialog to allow the user to
adjust if required but this is laborious when there can be up to 50 odd
sheets. Is there code that I can use in say,This Workbook (open) that will do
this automatically or is there another way?
Thanks for your help. (I am using excel 2000)
--
ypukpete
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Screen size and Window size


ypukpete;191204 Wrote:
I have designed several programs on my PC with the worksheets sized to
fit my
screen size. My problem is that when I run them on another Pc with a
different screen size they are either too big or small accordingly. I
have a
cmd button on each sheet that opens the zoom dialog to allow the user
to
adjust if required but this is laborious when there can be up to 50
odd
sheets. Is there code that I can use in say,This Workbook (open) that
will do
this automatically or is there another way?
Thanks for your help. (I am using excel 2000)
--
ypukpete


Hello ypukpete,

Excel will automatically resize itself and the worksheets to fit the
current display. So, why are you having problems with the worksheets?
Are you displaying them and not using Excel to do so?


--
Leith Ross

Sincerely,
Leith Ross

'The Code Cage' (http://www.thecodecage.com/)
------------------------------------------------------------------------
Leith Ross's Profile: http://www.thecodecage.com/forumz/member.php?userid=75
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=52682

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Screen size and Window size

No, I am using them in Excel. But I have resized them using Zoom to fit my
screen to display the info I want the user to see. The zoom size is about 80
to 120% depending on the sheet. Perhaps this is the problem? When I load it
on another PC with a different screen size it is either too big or small for
the screen.
Come back to me on this please.
Thanks
--
ypukpete


"Leith Ross" wrote:


ypukpete;191204 Wrote:
I have designed several programs on my PC with the worksheets sized to
fit my
screen size. My problem is that when I run them on another Pc with a
different screen size they are either too big or small accordingly. I
have a
cmd button on each sheet that opens the zoom dialog to allow the user
to
adjust if required but this is laborious when there can be up to 50
odd
sheets. Is there code that I can use in say,This Workbook (open) that
will do
this automatically or is there another way?
Thanks for your help. (I am using excel 2000)
--
ypukpete


Hello ypukpete,

Excel will automatically resize itself and the worksheets to fit the
current display. So, why are you having problems with the worksheets?
Are you displaying them and not using Excel to do so?


--
Leith Ross

Sincerely,
Leith Ross

'The Code Cage' (http://www.thecodecage.com/)
------------------------------------------------------------------------
Leith Ross's Profile: http://www.thecodecage.com/forumz/member.php?userid=75
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=52682


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Screen size and Window size

On Jan 21, 7:07*pm, ypukpete
wrote:
No, I am using them in Excel. But I have resized them using Zoom to fit my
screen to display the info I want the user to see. The zoom size is about 80
to 120% depending on the sheet. Perhaps this is the problem? When I load it
on another PC with a different screen size it is either too big or small for
the screen.
Come back to me on this please.
Thanks
--
ypukpete


Having experienced the same problem many times, I now include the
following Auto macro when necessary.

Sub Auto_Open()

Sheets("MySheet").Activate
Columns("A:N").Select 'Specify the columns you want to be
visible
ActiveWindow.Zoom = True

End Sub

This then automatically displays the selected columns across the full
screen. Repeat as necessary for any other sheets that will be
displayed, changing the sheet name and columns to suit.

HTH
Aussie Dave
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Screen size and Window size

Thanks mate, works like a charm in my application. But can you explain what
you mean by an Auto macro. I am fairly new to VBA etc. Thanks for your help.
--
ypukpete


"AussieDave" wrote:

On Jan 21, 7:07 pm, ypukpete
wrote:
No, I am using them in Excel. But I have resized them using Zoom to fit my
screen to display the info I want the user to see. The zoom size is about 80
to 120% depending on the sheet. Perhaps this is the problem? When I load it
on another PC with a different screen size it is either too big or small for
the screen.
Come back to me on this please.
Thanks
--
ypukpete


Having experienced the same problem many times, I now include the
following Auto macro when necessary.

Sub Auto_Open()

Sheets("MySheet").Activate
Columns("A:N").Select 'Specify the columns you want to be
visible
ActiveWindow.Zoom = True

End Sub

This then automatically displays the selected columns across the full
screen. Repeat as necessary for any other sheets that will be
displayed, changing the sheet name and columns to suit.

HTH
Aussie Dave



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Screen size and Window size

On Jan 23, 11:19*am, ypukpete
wrote:
Thanks mate, works like a charm in my application. But can you explain what
you mean by an Auto macro. I am fairly new to VBA etc. Thanks for your help.
--
ypukpete


Basically, anything you code into a macro called "Sub Auto_Open" will
be actioned automatically as soon as the spreadsheet is opened - you
don't need to invoke it.

Good luck,
Aussie Dave
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Screen size and Window size

Thanks for your help.
Has made a big difference to my application.
Keep an eye open for me...I sometimes ask questions I cant find
in the threads. but I go through them all first before I ask.
Nice to know there are people willing to help.
--
ypukpete


"AussieDave" wrote:

On Jan 23, 11:19 am, ypukpete
wrote:
Thanks mate, works like a charm in my application. But can you explain what
you mean by an Auto macro. I am fairly new to VBA etc. Thanks for your help.
--
ypukpete


Basically, anything you code into a macro called "Sub Auto_Open" will
be actioned automatically as soon as the spreadsheet is opened - you
don't need to invoke it.

Good luck,
Aussie Dave

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
Screen Size [email protected] Excel Worksheet Functions 2 April 15th 09 01:53 AM
how to save a desired window size but hv window comeup fullsz by d smjm1982 Excel Discussion (Misc queries) 1 February 15th 08 11:10 AM
change font size on screen, but prints in old size lvrcdval Excel Discussion (Misc queries) 2 July 19th 07 02:36 PM
Work sheet size relative to screen size Florida Tom Excel Discussion (Misc queries) 1 April 16th 07 02:22 AM
Screen size Jim[_57_] Excel Programming 2 June 22nd 05 04:56 AM


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