Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-25-2015, 07:53 AM
jingles9 jingles9 is offline macros and references in Word 2007 letter Windows 7 32bit macros and references in Word 2007 letter Office 2007
Novice
macros and references in Word 2007 letter
 
Join Date: Sep 2015
Posts: 4
jingles9 is on a distinguished road
Default macros and references in Word 2007 letter

Hello, I am writing a letter that has two drop down fields. Depending on the item selected it references another section of the letter to automatically input data.
i.e in my letter you select the employee's name (dropdown2) and company (dropdown 1) and then it will prepopulate their email. Most employees are First.Last@companya, First.Last@companyc and First_Last@companyb however; one employee "Donald Duck" is First.Last for all three companies. Does anyone know what code I need to type for this?



The code I am currently using is:
{if{ Dropdown2}= "Mickey Mouse""Mickey"""}{if{ Dropdown2}= "Minnie Mouse""Minnie"""}{if{ Dropdown2}= "Donald Duck""Donald"""}{if{ Dropdown1}= "Company B""_""""}{if{ Dropdown1}= "Company A""."""}{if{ Dropdown1}= "Company C""."""}{if{ Dropdown2}= "Mickey Mouse""Mouse"""}{if{ Dropdown2}= "Minnie Mouse""Mouse"""}{if{ Dropdown2}= "Donald Duck""Duck"""}"""}{if{ Dropdown1}= "Company B""@companyb.com""""}{if{ Dropdown1}= "Company A""@companya.com."""}{if{ Dropdown1}= "Company C""@companyc.ca"""}

any suggestions?
Attached Files
File Type: docx TEST No personal data letter.docx (14.3 KB, 12 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone please help? Cross-references have stopped working in Word 2007 WaltR Word 1 12-18-2014 05:28 PM
How to fix/edit corrupted References in Word 2007 XP sv pk 3 Hyper-Energy Bob Word 3 07-08-2014 02:00 PM
macros and references in Word 2007 letter How do I change Excel Chart Object link references from UNC to drive letter? SusieBennett Word 9 06-16-2014 05:58 PM
macros and references in Word 2007 letter Word 2007 References When Adding Text From File grantgibson45 Word 1 07-04-2012 07:16 AM
Caption woes with cross-references/TOFs (Word 2007) Jhimmibhob Word 0 07-27-2011 08:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:53 PM.


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