-
WSroger.crawley
AskWoody LoungerSeptember 30, 2004 at 8:38 am in reply to: Detect Screen Resolution & Change View % (Excel 2002) #883231I often change the view settings within my code. To do this I will select the range I want to be visible on screen and the set the Zoom property of ActiveWindow to True. This then adjusts the zoom % so that all of the selected range is visible on screen. This works fine for me as I mostly work in maximised windows, however, if this code is run in a Normal window it will adjust the zoom settings to suit the window size at that time, if you then maximise the window the zoom will not be at an optimum level.
I have attached a simple example of how I would use this approach to resize the view for Height, Width and Range.
Hope this helps,
-
WSroger.crawley
AskWoody LoungerSeptember 30, 2004 at 8:38 am in reply to: Detect Screen Resolution & Change View % (Excel 2002) #883232I often change the view settings within my code. To do this I will select the range I want to be visible on screen and the set the Zoom property of ActiveWindow to True. This then adjusts the zoom % so that all of the selected range is visible on screen. This works fine for me as I mostly work in maximised windows, however, if this code is run in a Normal window it will adjust the zoom settings to suit the window size at that time, if you then maximise the window the zoom will not be at an optimum level.
I have attached a simple example of how I would use this approach to resize the view for Height, Width and Range.
Hope this helps,
-
WSroger.crawley
AskWoody LoungerHans,
Many thanks for the speedy reply.
-
WSroger.crawley
AskWoody LoungerHans,
Many thanks for the speedy reply.
-
WSroger.crawley
AskWoody LoungerSteve,
Thanks for the speedy response. I knew it was possible because I have a utility that does exactly what I want. I have been trying to fix it for a couple of hours but the closest I got was trying to find vbLf in the text string.
Once again thanks.
Roger.
-
WSroger.crawley
AskWoody LoungerSteve,
Thanks for the speedy response. I knew it was possible because I have a utility that does exactly what I want. I have been trying to fix it for a couple of hours but the closest I got was trying to find vbLf in the text string.
Once again thanks.
Roger.
-
WSroger.crawley
AskWoody LoungerJanuary 14, 2004 at 8:36 am in reply to: Charting ‘High/Low Reference Range’ + Actual value (2000/SP3) #767822Theo,
I tried using stock charts to display similar data. Whilst it was possible I didn’t find it the simplest way of getting the desired result.
Atached is a sample chart that I have prepared (with random data) using the method I decided was quickest and allowed for the best presentation of the source data. I achieve the result by:
1. Using the ‘Low’ value and a derived value for ‘Normal Spread’, which is ‘High’ – ‘Low’
2. These are displayed as a stacked column chart
3. The ‘Low’ column is given no border or area format and the series name is removed from the legend, this gives the impression that the ‘Normal Spread’ column is floating.
4. Finally the ‘Patient’ readings are displayed using a line chart.Hope this is of use.
-
WSroger.crawley
AskWoody LoungerThe attached file willl calculate any last day for any month in any year. All that is required is 3 inputs and I have included 3 different calculations that each handle the year input in a different way.
The formula that calculates the date of the last day is rather complex formula. Therefore I have also given a break down of the component formulae to help you understand how it works.
Hope this is of some use.
-
WSroger.crawley
AskWoody LoungerThe attached file willl calculate any last day for any month in any year. All that is required is 3 inputs and I have included 3 different calculations that each handle the year input in a different way.
The formula that calculates the date of the last day is rather complex formula. Therefore I have also given a break down of the component formulae to help you understand how it works.
Hope this is of some use.
-
WSroger.crawley
AskWoody LoungerThanks Steve that has done it.
-
WSroger.crawley
AskWoody LoungerThanks Steve that has done it.
-
WSroger.crawley
AskWoody LoungerBob thanks for your reply. The using the Add-In removes the need to replace the name throughout the workbook, which could be time consuming in large workbook.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
0Patch, where to begin
by
cassel23
34 minutes ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 hours, 33 minutes ago -
89 million Steam account details just got leaked,
by
Alex5723
11 hours, 58 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
12 hours, 7 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 hours, 5 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
5 hours, 28 minutes ago -
Installer program can’t read my registry
by
Peobody
5 hours, 4 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
52 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
8 hours, 13 minutes ago -
False error message from eMClient
by
WSSebastian42
23 hours, 14 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 8 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 9 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
6 hours, 7 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 13 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
14 hours, 5 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 18 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 23 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 23 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
18 minutes ago -
May 2025 updates are out
by
Susan Bradley
6 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 5 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 5 hours ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 5 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 hour, 32 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 12 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 6 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 13 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 14 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
22 hours, 57 minutes ago -
No HP software folders
by
fpefpe
2 days, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.