header & footer styles

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • meredithf
    New Member
    • Sep 2007
    • 2

    header & footer styles

    How do i get all the styles & formats applied to a word document. I am using the codes below but I can't get the styles on the header & footer. What should I do to include the styles on the header & footer?

    With oDoc.Range(Star t:=oDoc.Content .Start, End:=oDoc.Conte nt.End)
    For Each oPrg In oDoc.Paragraphs
    strStyle = oPrg.Style
    strStylesFormat = strStylesFormat & strStyle & ", "
    Next
    End with
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Hi meredithf

    Welcome to TSDN.

    Feel free to post questions in the related forum only by choosing from under the blue bar on the top of your page.

    Please follow the posting guidelines in every new post/reply.

    Please specify your post/question clearly.Please use proper code tags in all your codes.

    Regards

    Debasis

    Comment

    Working...