Hi everyone,
I am working on an OH&S induction form, that all staff at my work must complete. The file is to be opened from our "Intranet" from any PC on site.
What I want to do is have the Macro "change" the filename from "Employee Induction" to be the same as the Subject line in the code below, without saving the file to the local PC.
I.e. I want the file to be sent as (saved as) an attachment with the same filename as the subject line for the e-mail.
Can this be done without saving the file locally first?
I am using Excell 2003.
Thanks..
Keith.
I am working on an OH&S induction form, that all staff at my work must complete. The file is to be opened from our "Intranet" from any PC on site.
What I want to do is have the Macro "change" the filename from "Employee Induction" to be the same as the Subject line in the code below, without saving the file to the local PC.
I.e. I want the file to be sent as (saved as) an attachment with the same filename as the subject line for the e-mail.
Can this be done without saving the file locally first?
Code:
Sub SendInductionForm()
Dim TESTSurnameCAPS As String, TESTName As String
ActiveDocument.SendForReview _
Recipients:=("gtvgatehouse@nine.com.au"), _
Subject:=TESTSurnameCAPS & " " & TESTName & " - XXX Employee Induction - " & AutoDate
End Sub
I am using Excell 2003.
Thanks..
Keith.