Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-12-2011, 06:04 AM
borntorun75 borntorun75 is offline Mail merge will not format date field generated by Excel IF statement Windows XP Mail merge will not format date field generated by Excel IF statement Office 2007
Novice
Mail merge will not format date field generated by Excel IF statement
 
Join Date: Dec 2011
Posts: 2
borntorun75 is on a distinguished road
Default Mail merge will not format date field generated by Excel IF statement

Hi there,

I am using Excel (2007) as a data source and picking up a date column which can either be populated or not. The date is an 'end' date to a product. If the cell is populated, that means the product will discontinue to be available from that date. If the cell is empty, the product will be available indefinitely.

The cell is populated by an IF statement in Excel, the result being that the cell can have a date in it or not (blank).

The cell is definitely behaving as a date field. i.e. it is an underlying numerical value, which is formatted as a date.

As stated though, the cell in some circumstances may be blank - since there is no product end date.

It is also formatted, for what it's worth, as a date cell in Excel.



However, when attempting to mail merge that field, MS Word will not take any account of the mail merge merge formatting switches and defaults to showing it in the US format MMMM dd yyyy. It is not taking any account of my switch which is {MERGEFIELD End_Date \@ "dd MMMM yyyy"}

If I use a non-calculated date field (i.e. a typed in value), the switch behaves as expected, and shows it in the UK format.

The problem is only manifesting itself on that cell which is the consequence of an IF statement.

I'm very familiar with the usual date formatting issues in Word, but I cannot find an answer to this one.

Any takers ?

best regards, borntorun75.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Import field from Excel to Powerpoint xgravity23 Office 8 11-22-2012 02:08 PM
Mail merge will not format date field generated by Excel IF statement Use a mail merge Field as the final doc filename DaveBF Mail Merge 1 10-22-2011 10:16 PM
Mail merge will not format date field generated by Excel IF statement HTML Content in Mail Merge Field Ilmater Mail Merge 1 09-04-2011 02:47 AM
Mail merge will not format date field generated by Excel IF statement Mail merge erases field codes Medievalguy88 Mail Merge 1 08-11-2011 05:21 AM
Mail merge will not format date field generated by Excel IF statement Date not transfering to mail merge correctly tonywatsonmail Mail Merge 1 07-01-2011 05:30 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:57 AM.


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