Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    May 2002
    Location
    Houston, Texas, USA
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Macro to copy style via Organizer (2000)

    I want a macro that will copy a particular paragraph style from Normal.dot any current, open document. I tried recording one, but when I ran it I got an error. Can someone assist me with the right code?

    Thanks!

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Macro to copy style via Organizer (2000)

    The following works for me:

    Sub CopyAStyle()
    Application.OrganizerCopy _
    Source:="Normal.dot", _
    Destination:=ActiveDocument.Name, _
    Name:="AParticularStyle", _
    Object:=wdOrganizerObjectStyles
    End Sub

    Substitute the appropriate style name

  3. #3
    2 Star Lounger
    Join Date
    May 2002
    Location
    Houston, Texas, USA
    Posts
    100
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Macro to copy style via Organizer (2000)

    Thank you Hans!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •