-
WSsobershe
AskWoody Lounger -
WSsobershe
AskWoody LoungerThanks Legare,
Your post made me look at it differently and I was able to convince the user to redesign the spreadsheet.
Thanks again,
-
WSsobershe
AskWoody LoungerThanks! I’m still learning (as you can tell) and your feedback helped alot.
-
WSsobershe
AskWoody LoungerThanks. It works like a charm!!
-
WSsobershe
AskWoody LoungerYes, it works. Thanks!
Can you explain what is meant by the “long” in Dim lRow As Long? -
WSsobershe
AskWoody LoungerI’m a little confused as to what SH is and how I tell it that Sname is the tab names. When I paste your code at the end of my code I get an error message “For Each control variable must be a Variant or Object”
-
WSsobershe
AskWoody LoungerYour macro will run after you click on the button in the upper left-hand corner of the control toolbox to “Exit Design Mode”.
-
WSsobershe
AskWoody LoungerIt was just a portion of the code and yes, I do have it at the end.
Thanks for the heads-up though.
-
WSsobershe
AskWoody LoungerI fixed it to handle a null MyValue and it works great!
Thanks a lot.
-
WSsobershe
AskWoody LoungerAre you saying that if I use a Type of 2 they will only be able to enter a tab name that is data (alpha, not numeric)?
[i.e. MyValue = Application.InputBox(Prompt:=Message, Title:=Title, Type:=2)]
I did fix the Escape issue by checking for a null MyValue and handling.
I also added the application object in front of ScreenUpdating = False and it works much better.
Thanks.
-
WSsobershe
AskWoody LoungerI see now. Thanks for your help.
-
WSsobershe
AskWoody LoungerThanks. And range names do help!
-
WSsobershe
AskWoody LoungerFred,
The formula works like a charm!!
Thanks.
-
WSsobershe
AskWoody LoungerThanks for the help but I think I wasn’t too clear on what I was trying to do. I’m not concerned with calculating time but rather incrementing the sum of 2 cells by 4% each year while also adding a base amount. The formulas I am using for year 1, 2, and 3 are below. I’m thinking there is a function I could use that would treat the amount that is growing (cells D10-11) like an annuity that earns interest (4%) AND would also let me add on the base amount (cell D9)
=SUM($D$10:$D$11)*1.04+SUM($D$9)
=SUM($D$10:$D$11)*1.04*1.04+SUM($D$9)
=SUM($D$10:$D$11)*1.04*1.04*1.04+SUM($D$9)While my formula works, it seems rather unsophisticated.
-
WSsobershe
AskWoody LoungerYou’re right, I wasn’t clear where the cells were, and they can be most anywhere depending on the project.
Thanks for your help and advise. The macros make a tedious job a lot easier!
![]() |
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
-
Windows 7 ISO /Windows 10 ISO
by
ECWS
59 minutes ago -
No HP software folders
by
fpefpe
7 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
33 seconds ago -
Stay connected anywhere
by
Peter Deegan
5 hours, 30 minutes ago -
Copilot, under the table
by
Will Fastie
2 hours, 44 minutes ago -
The Windows experience
by
Will Fastie
11 hours, 44 minutes ago -
A tale of two operating systems
by
Susan Bradley
2 hours, 40 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
17 hours, 4 minutes ago -
Where’s the cache today?
by
Up2you2
1 day, 8 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 1 hour ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 hour, 29 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 9 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 1 hour ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 1 hour ago -
regarding april update and may update
by
heybengbeng
2 days, 3 hours ago -
MS Passkey
by
pmruzicka
1 day, 5 hours ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 10 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 21 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 9 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 5 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 14 hours ago -
AI slop
by
Susan Bradley
1 day, 8 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 15 hours ago -
Two blank icons
by
CR2
23 hours, 58 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 1 hour ago -
End of 10
by
Alex5723
4 days, 3 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
3 days, 1 hour ago -
test post
by
gtd12345
4 days, 9 hours ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 23 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
2 days, 1 hour 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.