Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2011, 02:35 AM
Jamal NUMAN Jamal NUMAN is offline Why the "day" is not inserted as we read values from Excel to Word? Windows XP Why the "day" is not inserted as we read values from Excel to Word? Office 2007
Expert
Why the "day" is not inserted as we read values from Excel to Word?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Question Why the "day" is not inserted as we read values from Excel to Word?


Why the "day" is not inserted as we read values from Excel to Word?

please, see the attached image that shows my question

i need to write the "day and the date" from excel to word and this is why i used "mailing and insert fields"

the problem that the day appears correctly in the Excel but doesn't in Word!!!! the date is written without the day!!!!!!

How to solve this problem?

regards

Jamal
Attached Images
File Type: jpg Clip_3.jpg (74.8 KB, 9 views)
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #2  
Old 08-28-2011, 12:34 AM
nutrastat nutrastat is offline Why the "day" is not inserted as we read values from Excel to Word? Windows 7 64bit Why the "day" is not inserted as we read values from Excel to Word? Office 2010 32bit
Advanced Beginner
 
Join Date: Aug 2011
Location: Brighton, UK
Posts: 36
nutrastat is on a distinguished road
Default Date Field Switch Required

Hi Jumal,

Try this link, and look at the example by clicking on the '+'.

http://office.microsoft.com/en-us/wo...005186143.aspx

You need to edit the field code to show the date in the format you require.

Hope this helps.
Reply With Quote
  #3  
Old 08-28-2011, 01:50 PM
Jamal NUMAN Jamal NUMAN is offline Why the "day" is not inserted as we read values from Excel to Word? Windows XP Why the "day" is not inserted as we read values from Excel to Word? Office 2007
Expert
Why the "day" is not inserted as we read values from Excel to Word?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Question

Quote:
Originally Posted by nutrastat View Post
Hi Jumal,

Try this link, and look at the example by clicking on the '+'.

http://office.microsoft.com/en-us/wo...005186143.aspx

You need to edit the field code to show the date in the format you require.

Hope this helps.
thank you for the answer nutrastat.

i tried your hint but unfortunately it didn't work!

- the date is read from an excel file but not directly from Word
- the format is applicable for the current date but not for the dates listed in the excel file!

please, see the attached the images that shows my problem.

what i need is to have the dates listed in excel to be written in Word exactly as they are.

how can i do that? could you please elaborate more?

regards

Jamal
Attached Images
File Type: jpg Clip_912.jpg (82.0 KB, 6 views)
File Type: jpg Clip_913.jpg (101.7 KB, 7 views)
File Type: jpg Clip_914.jpg (90.4 KB, 6 views)
Attached Files
File Type: xlsx New Microsoft Excel Worksheet.xlsx (9.6 KB, 7 views)
File Type: docx New Microsoft Word Document.docx (14.7 KB, 10 views)
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #4  
Old 08-29-2011, 01:17 AM
nutrastat nutrastat is offline Why the "day" is not inserted as we read values from Excel to Word? Windows 7 64bit Why the "day" is not inserted as we read values from Excel to Word? Office 2010 32bit
Advanced Beginner
 
Join Date: Aug 2011
Location: Brighton, UK
Posts: 36
nutrastat is on a distinguished road
Default

Hi Jamal,

Right click on the field, edit field, go to field codes and insert...

MERGEFIELD \@ "dddd, MMMM d, yyyy"

THis will then give you a complete date, by removing the d, M, or Y it will shorten the string displayed.

Hope this helps.
Reply With Quote
  #5  
Old 08-29-2011, 07:31 AM
nutrastat nutrastat is offline Why the "day" is not inserted as we read values from Excel to Word? Windows 7 64bit Why the "day" is not inserted as we read values from Excel to Word? Office 2010 32bit
Advanced Beginner
 
Join Date: Aug 2011
Location: Brighton, UK
Posts: 36
nutrastat is on a distinguished road
Default Just Needed To Edit Field Code!

Hi Jamal,

I have CHANGED your two documents.

Excel: I have put the dates into different formats (CTRL+1). The format of the field DOES NOT MATTER, because all excel dates are held as numbers. Changed the header to Date, because it does not matter whether there is a day there or not.

Word: Then I put in the field code into the Word docment. Right-click date, toggle field codes and the whole string will be seen. Do not forget to toggle it back!

The way that the date is formatted comes down to how many 'd', 'M' or 'y' that you have within the quotation marks. For instance, add another couple of 'M' (4 x M = MMMM) and you will find it will give you the whole month name, whereas, 3 x M's will give you an abbreviated months name.

You now have various date formats in the Excel file, which will all look the same when mail merged into the word document, irrespective of their original formatting.

Hope this now answers all of your questions.
Attached Files
File Type: docx Jamal Doc.docx (14.9 KB, 7 views)
File Type: xlsx Jamal Excel.xlsx (9.6 KB, 7 views)
Reply With Quote
  #6  
Old 08-29-2011, 11:17 AM
Jamal NUMAN Jamal NUMAN is offline Why the "day" is not inserted as we read values from Excel to Word? Windows XP Why the "day" is not inserted as we read values from Excel to Word? Office 2007
Expert
Why the "day" is not inserted as we read values from Excel to Word?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Thumbs up

Quote:
Originally Posted by nutrastat View Post
Hi Jamal,

I have CHANGED your two documents.

Excel: I have put the dates into different formats (CTRL+1). The format of the field DOES NOT MATTER, because all excel dates are held as numbers. Changed the header to Date, because it does not matter whether there is a day there or not.

Word: Then I put in the field code into the Word docment. Right-click date, toggle field codes and the whole string will be seen. Do not forget to toggle it back!

The way that the date is formatted comes down to how many 'd', 'M' or 'y' that you have within the quotation marks. For instance, add another couple of 'M' (4 x M = MMMM) and you will find it will give you the whole month name, whereas, 3 x M's will give you an abbreviated months name.

You now have various date formats in the Excel file, which will all look the same when mail merged into the word document, irrespective of their original formatting.

Hope this now answers all of your questions.
thank you Nutrastat. it worked like a charm.

regards

Jamal
Attached Images
File Type: jpg Clip_919.jpg (87.0 KB, 6 views)
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #7  
Old 08-29-2011, 11:21 AM
nutrastat nutrastat is offline Why the "day" is not inserted as we read values from Excel to Word? Windows 7 64bit Why the "day" is not inserted as we read values from Excel to Word? Office 2010 32bit
Advanced Beginner
 
Join Date: Aug 2011
Location: Brighton, UK
Posts: 36
nutrastat is on a distinguished road
Default

Hi Jamal,

Pleased to have a satisfied customer!

Please remember to mark your question as 'Solved' - thanks.
Reply With Quote
  #8  
Old 08-29-2011, 12:03 PM
Jamal NUMAN Jamal NUMAN is offline Why the "day" is not inserted as we read values from Excel to Word? Windows XP Why the "day" is not inserted as we read values from Excel to Word? Office 2007
Expert
Why the "day" is not inserted as we read values from Excel to Word?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Thumbs up

Quote:
Originally Posted by nutrastat View Post
Hi Jamal,

Pleased to have a satisfied customer!

Please remember to mark your question as 'Solved' - thanks.
i did. ver much appreciated.

regards

jamal
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
  #9  
Old 09-04-2011, 07:48 AM
Jamal NUMAN Jamal NUMAN is offline Why the "day" is not inserted as we read values from Excel to Word? Windows XP Why the "day" is not inserted as we read values from Excel to Word? Office 2007
Expert
Why the "day" is not inserted as we read values from Excel to Word?
 
Join Date: Nov 2010
Posts: 525
Jamal NUMAN is on a distinguished road
Question

Quote:
Originally Posted by Jamal NUMAN View Post
i did. ver much appreciated.

regards

jamal
once again in trouble!!!!!!

i couldn't have the format that i need while inserting values from Excel to Word!!!!!!!

i thought that the code: \@ "dddd, mmmm d, yyyy" is able to read exactly what we have in Excel!!!!

How to have the same value format when inserting from Excel to Word????

regards

Jamal


Attached Images
File Type: jpg Clip_961.jpg (105.2 KB, 6 views)
File Type: jpg Clip_962.jpg (100.3 KB, 6 views)
File Type: jpg Clip_963.jpg (109.9 KB, 6 views)
Attached Files
File Type: xlsx New Microsoft Excel Worksheet_date.xlsx (10.5 KB, 7 views)
File Type: docx New Microsoft Word Document.docx (15.6 KB, 8 views)
__________________
Jamal NUMAN, Jamal432@gmail.com, P.O.BoX: 731, Ramallah, West Bank.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why the "day" is not inserted as we read values from Excel to Word? marking email as "read" until email is read on local device. mwomack Outlook 2 07-16-2011 08:21 PM
Why the "day" is not inserted as we read values from Excel to Word? Why the left edge of an inserted table is out "text boundary" by default? Jamal NUMAN Word Tables 2 06-30-2011 04:47 PM
Why the "day" is not inserted as we read values from Excel to Word? Outlook 2007 - Receiving Multiple "read receipts" from a single email garp2100 Outlook 1 12-03-2010 07:10 AM
"Microsoft Excel Application" missing in the "Component Services" on win08 sword.fish Excel 0 02-26-2010 02:09 PM
merge field formatting problem with "text to be inserted before" wissam Mail Merge 0 12-13-2009 12:50 AM

Other Forums: Access Forums

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