|
-
May 15th, 2006, 01:35 PM
#6
Lively Member
Re: Stop form opening from saved word doc
 Originally Posted by ipollasa
That's great - works perfectly, Thanks!
I've cheated with the enforced file naming by using a "project number" as a reference for a range of documents.
VB Code:
Dim PathAndFileName As String
Dim ProjNo As String
ProjNo = frmProjNo.txtProjNo.Value
PathAndFileName = "C:\[I]filepathandname[/I] "
ActiveDocument.SaveAs (PathAndFileName & ProjNo & ".doc")
It's very basic but hey I'm new at this!
Not quite what I was looking for, but thanks anyway
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|