Solved: VBA Alternate Way to get User Input not in a Form

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

mariaa33

Thread Starter
Joined
Aug 7, 2008
Messages
164
I have a form now that won't work for many folks because of "Form Controls stop working after December 2014 Updates". The fixes provided do not work for most people and many won't even attempt the hot fixes. I am trying to figure out a workaround. I know I can use WorksheetChange to get when an entry is put in a cell but I need to be able run a macro for a second entry and then display results in a third cell. On the ones with out the issue, right now on my form they put text in first box and it runs a macro (afterupdate) to validate certain things and then when they enter in the second text box, it runs another macro to validate that entry. Then they click a button to execute a third macro to get the results. Is there a way to do that without a form and command buttons?
 

OBP

Joined
Mar 8, 2005
Messages
19,895
You can use a pair of input boxes or Application.Inputboxes.
If you use the inputbox you may have to do some text to number conversions, whereas the Application inputbox can pre specify whether the data to be expected is string, number or cell reference etc.
It can be triggured by a macro Keyboard shortcut or an Excel Event.
 
Joined
Sep 4, 2003
Messages
4,912
Did you create your own true custom form using the VB editor or are you embedding the controls directly into a worksheet?
 

mariaa33

Thread Starter
Joined
Aug 7, 2008
Messages
164
I created the form with vb editor that popped up when open the wkbook. The form also allowed the user to close the form and view the data. If they wanted to use the form then there was a command button they could select to bring back up the form. However I have now re-written the code to use inputboxes that is working fine for everyone.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top