I was wondering if someone could help me with a macro in Excel – it isn’t counting the Disciplines like it is supposed to. Thank you in advance.
![]() |
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 |
-
Macro (Excel 2003)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Macro (Excel 2003)
- This topic has 8 replies, 2 voices, and was last updated 16 years, 11 months ago.
Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerJune 11, 2008 at 10:22 pm #1112398You’re looping through the non-blank cells in column F (column number 6), starting at row 23. But there are no such cells – column F is blank from row 20 down. Perhaps you should use column H (column number 8) instead of F. But then it’s not clear what you want with the rest of your code.
-
WSrobinr
AskWoody LoungerJune 11, 2008 at 10:34 pm #1112409Hi Hans – again I get asked to fix something – just because I know a little bit about Access & Excel. Thanks for your help. The spreadsheet is supposed to Count the Disciplines when you click the Current Total button – then put the result in F3 to F10. Someone else created this Macro and I tried to fix it.
Thanks Again -
WSHansV
AskWoody LoungerJune 11, 2008 at 10:45 pm #1112410Apparently, two columns have been inserted but the macro hasn’t been updated accordingly.
Use Edit | Replace to replace:
– all instances of , 11 with , 13
– all instances of , 10 with , 12
– all instances of , 9 with , 11
– all instances of , 8 with , 10
– all instances of , 6 with , 8
-
-
Viewing 0 reply threads -

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
-
24H2 Installer – don’t see ption for non distructive install (Awaiting moderation)
by
JP
1 hour, 16 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
7 hours, 28 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
2 hours, 16 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
2 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
13 hours, 20 minutes ago -
Setting up Windows 11
by
Susan Bradley
31 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
8 hours, 48 minutes ago -
Powershell version?
by
CWBillow
9 hours, 40 minutes ago -
SendTom Toys
by
CWBillow
4 hours, 20 minutes ago -
Add shortcut to taskbar?
by
CWBillow
13 hours, 36 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
1 day, 5 hours ago -
How can I install Skype on Windows 7?
by
Help
1 day, 4 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
11 hours, 36 minutes ago -
We live in a simulation
by
Alex5723
1 day, 20 hours ago -
Netplwiz not working
by
RetiredGeek
1 day, 6 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days, 8 hours ago -
Microsoft is killing Authenticator
by
Alex5723
20 hours, 10 minutes ago -
Downloads folder location
by
CWBillow
2 days, 15 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 10 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
2 days, 6 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
2 days, 6 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
8 hours, 15 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
2 days, 5 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 4 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
2 days, 18 hours ago -
Multiple Partitions?
by
CWBillow
2 days, 19 hours ago -
World Passkey Day 2025
by
Alex5723
15 hours, 47 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
4 days, 4 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
2 days, 4 hours ago -
Cached credentials is not a new bug
by
Susan Bradley
4 days, 8 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.