Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 8th, 2014, 10:36 PM
Registered User
 
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?
 
Old July 9th, 2014, 02:03 AM
Registered User
 
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/
 
Old November 4th, 2014, 01:55 AM
Friend of Wrox
 
Join Date: Sep 2005
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)





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 06:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.