Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Nov 2001
    Location
    KS
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    templates (Word 2000)

    I have a macro that pulls down a template page for a memorandum, adds the "TO", "FROM", etc etc, and then when I try to save that pull down page to a document name, the dialog window on save will not allow me to save it any other way than as a document template. Any suggestions? I need to save it as a document, so I can save the template for reuse.

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: templates (Word 2000)

    First, make sure your code creates a document from the template.

    documents.Add Template:=TemplateName

    Then, your FileSave code should default to type: .doc

    You can try

    activedocument.SaveAs Filename:="test",FileFormat:=wdFormatDocument

    to force the save as a document, but

    activedocument.save

    should display the File SaveAs dialog with the type defaulted to .doc.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

Posting Permissions

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