Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Computing Support Forums > Programming & Scripting
Home Forums Register Search Today's Posts Mark Forums Read

Dropdown menu in a form

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 27-May-2008, 12:07 PM
internetfreak internetfreak is offline
New Member
Posts: 1
Points: 0 internetfreak has no points
Power: 1
None
Join Date: 27 May 2008
Dropdown menu in a form

I know there is a really simple solution to this but i just can't work out how to do it.

I am basically creating a form in Microsoft word, which has drop down menus and text form fields. I am trying to get a macro working so that when a user chooses an option it will go to a particular text form field, depending on the option selected e.g yes or no.

I'm just not sure how i can write this in VB to get it working. Im guessing its along the lines of: If dropdownbox.yes = selected then goto textform3.

If you could help me that would be great. I hope i don't come across as being too stupid

 
Reply With Quote
  #2  
Old 02-Jun-2008, 09:22 AM
mark_uol mark_uol is offline
New Member
Posts: 23
Points: 0 mark_uol has no points
Power: 1
None
Join Date: 15 May 2008
Location: Wiltshire UK
WIP: MsC IT Security UoL
Quote:
Originally Posted by internetfreak View Post
I know there is a really simple solution to this but i just can't work out how to do it.

I am basically creating a form in Microsoft word, which has drop down menus and text form fields. I am trying to get a macro working so that when a user chooses an option it will go to a particular text form field, depending on the option selected e.g yes or no.

I'm just not sure how i can write this in VB to get it working. Im guessing its along the lines of: If dropdownbox.yes = selected then goto textform3.

I do not knoew much about working with MS word documents but your syntax looks wrong to me. Just to give an idea it would probably be more like;
if DropdownBox.selectedItem.Text = "yes" then
txtName.Text = DropdownBox.selectedItem.Text
End if MN

If you could help me that would be great. I hope i don't come across as being too stupid
Here is s sit that mey have some relevent info.
http://www.infopackets.com/channels/...ox_ms_word.htm

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Computing Support Forums > Programming & Scripting


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Menu redirection amphtech Networking 7 29-May-2008 09:40 PM
form data PAT Connectivity, Telecommunications & the Internet 0 21-Jan-2008 10:12 AM
History menu in Firefox _omni_ Software 1 16-Nov-2007 09:38 AM
Quick Shot - Stop a Form Submission Mitzs Web Design & Graphics 1 22-Oct-2007 08:43 AM
linux boot menu? barita_lola Linux / Unix Discussion 14 18-Sep-2007 01:07 PM


All times are GMT. The time now is 08:24 PM.

Powered by vBulletin® Version 3.6.11
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages