Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 8th, 2014, 10:36 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combobox selection to populate Textbox

I'm at my wits end. My workplace has upgraded from Office 2003 to 2010. And I'm a completely novice programmer, but I had managed to have a duty list in word 2003 vba to have a ComboBox of names, populate a textbox with a phonenumber when the name was choosen from the combo box.



Now I'm trying to do this with content controls in 2010 and I've been at this for a week with no success. I do some light coding in other languages and catch on fairly quickly, but vba seems like it's from a different universe to me. Please please can someone point me in the right direction?
Reply With Quote
  #2 (permalink)  
Old July 9th, 2014, 02:03 AM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default She's the chief actions and instead

She's the chief actions and instead it may be having something of the National City about but desert typing something up yeah I the now the time these beginning to make changes to what she's eating she needs to look at how much she’s putting away the Andy loves cooking but like so many others she finds it hard not to overdo it this means and they will often put too much on a plate are even worse return for a second helping that night on my own money that's like the danger that slide down below nationalize not wanting to be 180 that’s when I wish complex.
the so why do we sell off do we sell off toned more than we need to is it pure greed a rock all the forecast work tricking as in to access I just sainthood ha-ha I'm blow to the it's an phone it paid them not properly hot of our perfect OK we've got me ready think every we just have a rating and I believe any meat if a fun full I'll be folded estimated me on the day when another way to ship new research in America seems to suggest that we can be tricked into eating more than we need my portion size but the scientists.
took 150 movie-goers an average Cine mark on the small map to Nepal comb eating too much popcorn during a movie is a common problem I mean once you got it bad you know yeah he just continue eating it and a shark and upbeat as they had more do the length the movie probably a at the half to contain it which is a really large container in the American experiments while the commenting movie-goers came to watch film the scientists was secretly watching me pop comb the trial was designed to test whether people would eat more simply because they were given a larger portion he even finished didn't taste good but the movie goers.
For more information, visit our site >>>>>>> http://elitetest360up.com/
Reply With Quote
  #3 (permalink)  
Old November 4th, 2014, 12:55 AM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Hi

Please try recording Macros to start with and then understand the autogenerated code; you can pick up faster

http://msdn.microsoft.com/en-us/libr...ice.14%29.aspx

should provide you some hint

Regards
Shasur

Quote:
Originally Posted by Reginator View Post
I'm at my wits end. My workplace has upgraded from Office 2003 to 2010. And I'm a completely novice programmer, but I had managed to have a duty list in word 2003 vba to have a ComboBox of names, populate a textbox with a phonenumber when the name was choosen from the combo box.



Now I'm trying to do this with content controls in 2010 and I've been at this for a week with no success. I do some light coding in other languages and catch on fairly quickly, but vba seems like it's from a different universe to me. Please please can someone point me in the right direction?
__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate combobox depends on option box selection VBA yikwei Excel VBA 0 May 17th, 2014 10:38 AM
Re-Populate a linked ComboBox PaulDGoldstein BOOK: Visual Basic 2010 Programmer's Reference 4 March 25th, 2013 06:34 PM
How to populate combobox with xml using VB? QuadFather XML 8 April 7th, 2010 09:07 AM
Populate fields from drop-down selection SimonL Infopath 0 April 12th, 2007 07:30 AM
populate combobox in xsl mausumee XSLT 2 February 23rd, 2007 05:37 PM



All times are GMT -4. The time now is 10:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.