View Single Post
 
Old 04-07-2016, 08:34 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,526
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

OK, I've added the field codes for the on/off times. If the data don't contain a time, 'N/A' is output. The field codes for the E2 Start/End times is already there and functioning; like the E2 name field, they only display anything if there are time data.

As for the page numbering, that's only an issue if you're not using the code from post #30. If you're not using the code, you'll need to add:
, Sctn As Object
after:
HdFt As Object
and insert the following code after '.DisplayAlerts = True':
Code:
        With .ActiveDocument
          For Each Sctn In .Sections
            For Each HdFt In Sctn.Footers
              If HdFt.Exists Then HdFt.PageNumbers.RestartNumberingAtSection = False
            Next
          Next
        End With
Attached Files
File Type: docx DR15v1.docx (387.2 KB, 9 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote