Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old 07-04-2015, 09:50 PM
macropod's Avatar
macropod macropod is online now Could anyone fix the attached if statement. thx Windows 7 64bit Could anyone fix the attached if statement. thx Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The QUOTE field simply encompasses the remainder, making them easier to manage as a group and, more importantly in the mailmerge context, unlinks the others during the merge so you end up with only the results, not an active field.

The SET field creates a bookmark, named 'Loan' in the latest iteration, enabling that bookmark to be used in the main expression rather than having to repeat the MERGEFIELD for each component.

Far less transparent, however, is the main expression's construction. What I've done is to take advantage of the fact a numeric picture switch takes three parameters: - +ve;-ve;0 and I've leveraged those to hold secondary field expressions and text. In fact, I've even nested a tertiary set of fields inside the secondary field's numeric picture switch. This kind of thing isn't anything you're likely to find documented anywhere other than in my Microsoft Word Field Maths Tutorial, available at:
http://windowssecrets.com/forums/sho...Maths-Tutorial
or:
http://www.gmayor.com/downloads.htm#Third_party
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
One email with 2 photos attached won't load dijear Outlook 0 03-08-2015 07:48 PM
Could anyone fix the attached if statement. thx Please Help for VBA Code for Attached File.. krishnaoptif Word VBA 3 07-17-2012 12:29 AM
Removing Attached Mailboxes Hack Outlook 0 10-14-2011 06:09 AM
Open an attached email and sent does not work M_O_C Outlook 0 07-27-2011 09:36 AM
Could anyone fix the attached if statement. thx value attached to a name grilem2 Excel 3 04-15-2011 06:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:24 AM.


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