Saving a document in Word 2007/2010 based on user input

S

Slickdock

Sorry if this is a duplicate. I thought I posted it but cant' find
it :-(

Hoping for help on the following:
I'm trying to write a macro that saves documents like this:
1- P: will always be the drive letter
2- user input will determine the folder
3- first 8 characters of filename will be current date in yyyymmdd
format
4- next 3 characters will be the author
4- next will be a dash, then user input's description.

All I know how to do is the following (defining and capturing a few of
the variables):

Dim folder As String
Dim author As Long
Dim description As String

folder = InputBox("Folder to Save in:")
author = InputBox("1-CL 2-RH 3-KH")
description = InputBox("Description")
 
J

jay

Sorry if this is a duplicate. I thought I posted it but cant' find
it :-(

Hoping for help on the following:
I'm trying to write a macro that saves documents like this:

see the Word MVPs FAQ- lots of sample code, explanations, and links to
even more.
that will get you started!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top