-
WSStats
AskWoody LoungerJust to confuse things a little further, in your example, I can click on cell n7, press enter to drop to cell n8, press enter again and not get an error message. Also if I click on cell n8 and add an additional “x” so it reads “xx” and press enter it will give the error message, then if you click cancel then enter you can drop to cell n9 even though it is still an error.
These little boxes we play with every day are just filled with magic, aren’t they!!
Stats -
WSStats
AskWoody LoungerThank you very much Macropod, it worked great. FYI because our parts are alpha numeric instead of numeric as in your example, I used COUNTA instead of COUNT in col A of Sheet 2.
If I may throw a small curve ball at you, how would I get the sub parts to display across the columns instead of down the rows.
So col A would have the part, col B would have the first sub part, c would have the second sub part etc.
Thanks again for your help.
Stats -
WSStats
AskWoody LoungerGood Morning Legare,
No, all of the minor parts appear in their own cell. MS Query returns them roughly as follows:
A B
1 FGABC1.0 BTTOR1.0
2 FGABC1.0 CPWHFC
3 FGABC1.0 BXABC1.0
4 FGBBO500 BTTOR500
5 FGBBO500 CPWHFC
6 FGBBO500 TRGEN500There are over 500 different parent parts that appear in col A.
Thanks
Stats -
WSStats
AskWoody LoungerGood Day Hans,
Thanks again for your help with the macro, but there is one unforeseen problem. Is there a way to undo the inserting of the rows when I close the workbook so when I open it the next time it’s inserting the rows in the correct spots again.
Thanks,
Stats -
WSStats
AskWoody LoungerThank you Hans, it worked exactly as I needed it too.
Stats -
WSStats
AskWoody LoungerThanks for your reply John. No, I am not deleting the rows after putting them in. It’s a report that pulls some information from our SQL Database using MS Query and outputs a report of what products have to be produced in the near future. Each part can appear on the report one time or it can appear a dozen times depnding on how many orders are outstanding but it is sorted by the part number in Col. D. Inserting the blank row between each part makes it easier to look at.
When I ran your code I got an “Application-defined or object-defined error”. The sheet in the workbook is called “Sheet1” and I couldn’t find any other “variables” I would have to change in the code. Have I missed something. -
WSStats
AskWoody LoungerThanks again Stuart, it never ceases to amaze me how helpful people are at Woody’s Lounge.
Almost all of the computers here are ’98 but there are a couple of Windows 2000, is the whole process any different for them?
Stats -
WSStats
AskWoody LoungerWorked like a charm, thank you very much. One question, when it updates the time a DOS message window comes up letting me know it was successful, is there a way to atoumatically close this window?
Stats -
WSStats
AskWoody LoungerI’m not sure what you are using the cell for, so this may not work but if you type the 1-10 with a single quotation mark preceding it….. ‘1-10 then it will display as 1-10.
HTH
Stats -
WSStats
AskWoody LoungerThank You very much John!!
It works great, I don’t need blank or empty cells hidden, it was just the gaping holes in the report I needed cleaned up and this works fine.
Thanks again for taking the time to help.
Stats -
WSStats
AskWoody LoungerThanks for your quick reply.
I’m sorry, I forgot to mention that the cells in Col D contain a formula that returns the value “” if some conditions aren’t met. These conditions determine if the data retrieved is supposed to be there. Since the cells are not “blank” the macro is not hiding them.
It worked perfectly on rows that had no data though.
Thanks for your help. -
WSStats
AskWoody LoungerIn your folder list click on the file that contains your contacts, go to “File”->”Folder”->”Properties for ‘whateveryourfileiscalled'”. Choose the “Outlook Address Book” tab and check the box that says “Show this folder as an e-mail Address Book “. In the “Name of the address book” type in the name that you want to appear.
When you click the “To:” button at the top it will say “Show names from the:” select “Contacts” or whatever you named it as.Good Luck,
-
WSStats
AskWoody LoungerI’m not 100% sure but I believe that the paragraph style can only be applied to email in the HTML format. To change the format back to “normal” click on “Tools”->”Options”->”Mail Format” and beside the option “Send in this message format” select anything other than “HTML”.
Hope this helps.
Stats -
WSStats
AskWoody LoungerOoops, sorry about that, I missed the part where you wanted a 0 to read “N/A” as well.
Try =IF(ISERR(A6/A7*100),”N/A”,IF(A6/A7=0,”N/A”,A6/A7*100))
(Don’t forget to delete the “*100” part if col B is formatted as a percentage.)
Stats
-
WSStats
AskWoody LoungerTry =IF(ISERR(A2/A3),”N/A”,A2/A3*100)
or =IF(ISERR(A2/A3,”N/A”,A2/A3) if column B is formatted as a percentage.
Good Luck,
Stats
![]() |
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
-
*Some settings are managed by your organization
by
rlowe44
2 hours, 32 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
4 hours, 46 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
5 hours, 10 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
14 hours, 11 minutes ago -
AI slop
by
Susan Bradley
13 hours, 22 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
15 hours, 28 minutes ago -
Two blank icons
by
CR2
1 hour, 1 minute ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day ago -
End of 10
by
Alex5723
1 day, 3 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
57 minutes ago -
test post
by
gtd12345
1 day, 9 hours ago -
Privacy and the Real ID
by
Susan Bradley
23 hours, 10 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
15 hours, 17 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 13 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 hour, 6 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
4 hours, 40 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 5 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 16 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 7 hours ago -
Are manuals extinct?
by
Susan Bradley
43 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 16 hours ago -
Network Issue
by
Casey H
2 days, 3 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 4 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 4 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 6 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 7 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 8 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 8 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 16 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 hour, 12 minutes 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.