Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2019, 06:44 AM
mulderwmr mulderwmr is offline Formfield exitmacro Windows 10 Formfield exitmacro Office 2013
Novice
Formfield exitmacro
 
Join Date: Feb 2019
Posts: 2
mulderwmr is on a distinguished road
Default Formfield exitmacro

Hello,

I want to check the value of a dropdown formfield.
I tried to make a macro, but it is not working.



An user has to select A, B or C. If not it is not allowed to select the next dropdown.

Can anyone help?

Thanks a lot!

Willem
Attached Files
File Type: docm ExitMacro FormField.docm (15.3 KB, 9 views)
Reply With Quote
  #2  
Old 02-07-2019, 01:11 PM
macropod's Avatar
macropod macropod is offline Formfield exitmacro Windows 7 64bit Formfield exitmacro Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Dropdowns don't have a Value property. You should be checking their Result property.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-08-2019, 05:21 AM
mulderwmr mulderwmr is offline Formfield exitmacro Windows 10 Formfield exitmacro Office 2013
Novice
Formfield exitmacro
 
Join Date: Feb 2019
Posts: 2
mulderwmr is on a distinguished road
Default Formfield exitmacro

Thanks, Paul!

It works!

Kind regards,
Willem
Reply With Quote
Reply

Tags
formfields; exitmacro



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formfield exitmacro Calculations of dropdowns and formfield averages Joebawca Word 2 11-09-2017 02:10 PM
Formfield exitmacro Insert more than 500 characters on FormField Word by VBA Jow Word VBA 4 09-15-2016 04:06 AM
Formfield exitmacro Assigning values to formfield checkboxes in a table mammiano Word Tables 13 01-12-2015 06:27 AM
Formfield exitmacro Formfield calculation Joachim Word 4 03-08-2013 01:56 AM
Auto populate formfield from dropdown menu jmofstead Word 0 02-26-2010 10:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft