Validation VBA

AJC16

New Member
Joined
Feb 23, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
I have a data entry form my employees use. I ha e the validation set up so if certain fields are not complete they trun red and they can't proceed. This process works great. However I need to add a new function. If the " sequence quality" is below 80% I need a comment in the comment box explaining the issue. I can get it to turn the box red and ask for a comment but what I can't get it to do is once a comment is entered it will not process thw entry. It's like it doesn't recognize the data has been entered in the comment box. I'm attaching a screen shot of the form and the validation code I am currently running. Like I said I coded it to require a comment if it's below the threshold is the sequence quality box but will not process once a comment is applied
 

Attachments

  • entry form.PNG
    entry form.PNG
    40.7 KB · Views: 15
  • validating.PNG
    validating.PNG
    41.4 KB · Views: 15

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi welcome to form

Its more helpful to forum if you use code tags when posting code – If you look at the menu bar you will see VBA pressing this will produce the tags for you. Place your forms code between the tags.

Also, and if possible, with a complex project, placing a copy of your workbook with dummy data on a file sharing site like dropbox & provide a link saves those that can assist, making a lot of guess work.



Dave
 
Upvote 0

Forum statistics

Threads
1,225,364
Messages
6,184,536
Members
453,239
Latest member
dbenthu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top