Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
TJ
 
Posts: n/a
Default Showing 3:54PM instead of 3:54:03PM

How do you get rid of the seconds in the time area. I have changed the
formatting in the time. I use the excel file as a data source. I include the
time in the mail merge. It always shows up with the seconds in the time. Very
frustrating.
HELP PLEASE!!

TJ
  #2   Report Post  
Eddie O
 
Posts: n/a
Default

it may be formatted as text, so won't respond to changing the time format.
if it is text, the TIMEVALUE formula will convert it to a decimal-based time
value which can then be formatted by using Excel's normal Number formatting--
to get rid of the seconds.

Eddie O

"TJ" wrote:

How do you get rid of the seconds in the time area. I have changed the
formatting in the time. I use the excel file as a data source. I include the
time in the mail merge. It always shows up with the seconds in the time. Very
frustrating.
HELP PLEASE!!

TJ

  #3   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Your problem is that with Dates and Times you are formatting the view of
the cell, not the cell contents.

To format the time as a reformatted cell content try (for the current
time):
=TEXT((NOW()),"hh")&":"&TEXT((NOW()),"mm")&"PM"

or, assuming your time is in a cell (say, cell C8)
=TEXT(C8,"hh")&":"&TEXT(C8,"mm")&"PM"

Hope this helps


--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=381801

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

Debra Dalgleish posted this for a different question:

In the Mail Merge, after you select your Excel file as a data source,
you should see a 'Confirm Data Source' dialog box.
(If you don't see the dialog box, change the setting in Word --
under ToolsOptions, General -- add a check mark to
'Confirm Conversion at Open')

From that list, choose 'MS Excel Worksheets via DDE (*.xls)', and your
formatting will be retained.

If you have to connect through a different source, you can format the
fields in the Word document. For example, to specify a number of decimals:

1. In Word, in the Main Document, press Alt+F9 to view the field codes.
2. Find the field code for the number. It will look something like:
{ MERGEFIELD FieldName }
3. Add a switch, to format the number with two decimal places.
For example:
{ MERGEFIELD FieldName \# "#,##0.00" }
4. Press Alt+F9 to hide the field codes.
5. Save the Main Document

You'll have to change the format to what you need.

=====
I read the mailmerge help in Word and this format worked ok for me:
{ MERGEFIELD FieldName \@ "hh:mm am/pm" }

TJ wrote:

How do you get rid of the seconds in the time area. I have changed the
formatting in the time. I use the excel file as a data source. I include the
time in the mail merge. It always shows up with the seconds in the time. Very
frustrating.
HELP PLEASE!!

TJ


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is calculate showing in status bar at bottom of spreadsheet? Sean Grier Excel Discussion (Misc queries) 3 May 5th 05 10:33 PM
Showing Duplicate Rows EaglesNest Excel Discussion (Misc queries) 4 March 26th 05 05:21 PM
formula in cell not showing result Leolin Excel Worksheet Functions 8 March 18th 05 05:36 PM
Bar showing value for missing data smboyd Charts and Charting in Excel 1 February 1st 05 09:53 PM
How do I stop the Reviewing toolbar from showing up in Excel? RickKel Excel Discussion (Misc queries) 2 November 26th 04 05:37 PM


All times are GMT +1. The time now is 05:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"