Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-10-2013, 09:11 AM
tamrichardson tamrichardson is offline Conditional Variables To Drive Output - Help Needed Windows XP Conditional Variables To Drive Output - Help Needed Office XP
Novice
Conditional Variables To Drive Output - Help Needed
 
Join Date: Jan 2013
Posts: 1
tamrichardson is on a distinguished road
Default Conditional Variables To Drive Output - Help Needed

Afternoon everyone

I have an excel mail merge problem I am hoping someone can confirm if it is possible, and if so how to do it.

I am creating contracts for a large number of colleagues. I have the scripts written with blank spaces for the variables relevent to each colleague.

Naturally not all paragraphs will be applicable to each colleague. Rather than have all the letters created, and have to delete the unwanted paragraphs, I'm looking for the contract script not to generate the obsolete paragraphs at all.

I have created a variable for each paragraph, and have broken down the paragraphs into variable chunks e.g. "Your salary is changing from xxxx to xxxx"

Variable 1 contains "Your salary is changing from",
Variable 2 contains "to"

With variables "Pre Salary" & "Post Salary".

My logic in doing it this way is that I can edit the code (and I apologise for my basic understanding of coding language) to read:



(If "Variable 1" <> "", and "variable 2" <> "", and "Pre Salary" <> "", and "Post Salary" <> "" then output "Variable 1", "Pre Salary", "Variable 2", "Post Salary", else "").

Can anyone help me with this?

Regards,
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing hi res images from powerpoint to pdf output? miriamallen PowerPoint 0 02-29-2012 09:54 AM
Conditional Variables To Drive Output - Help Needed 'If... then... else' - output dependent on multiple fields SiBrad Mail Merge 3 01-13-2012 02:56 AM
Conditional Variables To Drive Output - Help Needed Input from excel, output to word conradin Word 3 04-20-2011 07:48 PM
Output Presentation Settings yeapurvz10 PowerPoint 0 09-17-2010 10:30 AM
Creating A Input Or Output Field skoz55 Excel 0 08-15-2009 04:40 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:05 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