View Single Post
 
Old 04-09-2016, 05:10 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Quote:
Originally Posted by JennEx View Post
That worked Paul. It blows my mind that we we were able to concatenate two time strings with simple switches, but to simply use time as itself in a field required a paragraph of formula. (mind you I haven't tried this in the actual report yet ... it may behave quite differently)
Umm, how about trying it there, then?

Quote:
Originally Posted by JennEx View Post
How can the A or P for AM or PM be added? I tried the standard method of formatting but it came out looking like this ...

9:30P -10:00P
The standard field code for the AM/PM is:

{IF{MERGEFIELD r1_relchg}<> "" "{MERGEFIELD r1_srl \@ "h:mm AM/PM"}-{MERGEFIELD r1_sru \@ "h:mm AM/PM"}"}

but I didn't bother with that because you said:
Quote:
Originally Posted by JennEx View Post
Real estate in the cell is tight, so I am also trying to eliminate the space between the number and the AM/PM.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote