-
WSDoryO
AskWoody LoungerThis looks really awful but it works, avoids all the #VALUE and #NA stuff:
=ISNA(HLOOKUP(“overdue”,A1:D1,1,FALSE))=FALSE
-
WSDoryO
AskWoody LoungerCreate an Excel template (*.XLT) with macros and a desktop shortcut pointing to it. User’s click the shortcut and a copy of the template opens in Excel. Off you go… Not exactly transparent, but I don’t understand what event “starts” your application.
If you write a VB app you can use Excel application objects without displaying them to the user.
-
WSDoryO
AskWoody LoungerYou could also use a data filter to hide the blank rows prior to printing.
I have a big long price list that the users enter quantities on. Then they click a button that limits the visible rows to only those where Quantity>0. The button is actually a toggle that either hides or shows the “blank” rows. I don’t recommend using Autofilter — buggy results and funky little drop-down arrows in the column heads — I just coded my own filter in the macro and apply it or remove it.
Then what you see is what you get when you print.
This is basically the macro attached to the button:
If ActiveSheet.FilterMode Then
ActiveSheet.ShowAllData
ActiveSheet.Shapes(“ViewButton”).Select
Selection.Characters.Text = “Short List”
Range(“D7”).SelectElse
Range(“data”).AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:=Range(“Worksheet!Criteria”), Unique:=False
ActiveSheet.Shapes(“ViewButton”).Select
Selection.Characters.Text = “Long View”
Range(“D7”).SelectEnd If
-
WSDoryO
AskWoody Lounger=if(FeelBetter(“You”),FeelBetter(“Me”), ”
“)
-
WSDoryO
AskWoody LoungerMaybe you could use “Mail Merge” in Word to merge the data from a named range in the Excel sheet to a “catalog” document in Word. Then formatting would be completely handled on the Word side.
This would, however, require the users to do the “merge” action to create the final version. They might not like that.
PLAN C: Get all that “not important” formatted text into the Excel workbook and skip Word altogether. You can make a spreadsheet look a lot like that .DOC with features like:
– merge cells
– word wrap
– headers/footers
– insert graphics
– print to fit within one page
– etc…I’ve had to completely rework a number of Office applications because of bizarre, inexplicable errors that I just couldn’t find the cause of. Sometimes you find the conditions that cause the bug, but you can’t fix the bug, so you have to redesign your app to avoid those conditions. At some point I’d rather switch than fight. 🙂
I have had problems with font size CHANGES WITHIN CELLS in Excel causing incorrect print formatting.
-
WSDoryO
AskWoody LoungerUse nested SUM and IF functions if you have multiple criteria:
http://support.microsoft.com/default.aspx?…b;en-us;Q275165Using an array function like this can check values against multiple criteria before summing…
{=SUM(IF(A1:A10>=1,IF(A1:A10<=10,A1:A10,0)))}An array formula like this must be entered with Ctrl-Shift-Enter to get the the 'curly brackets' to appear. No curlies = no array calculation = no work. 🙂 Basically, the IF criteria are applied to each cell in the range and the SUM adds up all the values that pass the IFs.
RE: criteria for blank cells
This array formula does a count of cells with negative values or blanks:
{=SUM(IF(A1:A10<0,1,IF(ISBLANK(A1:A10),1,0)))}
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
MS-DEFCON 3: Cleanup time
by
Susan Bradley
13 seconds ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
1 hour, 47 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
10 hours, 25 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
14 hours, 24 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
14 hours, 25 minutes ago -
Unable to eject external hard drives
by
Robertos42
14 hours, 2 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
7 hours, 43 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
2 hours, 19 minutes ago -
Synology limits hard drives
by
Susan Bradley
1 day, 18 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
21 hours, 3 minutes ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
2 days ago -
Upgrade Sequence
by
doneager
1 day, 18 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 18 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
16 hours, 50 minutes ago -
The incredible shrinking desktop icons
by
Thumper
2 days, 21 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
2 days, 23 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 18 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 8 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 8 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 13 hours ago -
Speeding up 11’s search
by
Susan Bradley
20 hours, 52 minutes ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 8 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 days, 22 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 6 hours ago -
24H2 fixed??
by
CWBillow
2 days, 22 hours ago -
Uninstalr Updates
by
jv16
4 days, 11 hours ago -
Apple zero days for April
by
Susan Bradley
7 hours, 55 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
3 days, 8 hours ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
5 days, 10 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
4 days, 16 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.