To that function you can pass the format you want, use YY for a two digit
year, YYYY for a four digit year, etc.
Best regards
Michael Bauer
Am Wed, 7 Apr 2010 17:13:01 -0700 schrieb primed:
> Hi Michael,
> 1) Looked there but it didnt seem to give me the answer i was after.
> "Michael Bauer " wrote:
>
>
>
>> 1) See the Format function.
>
>> 2) I've never tried it, but AFAIK you can't rename an attached file,
instead
> > you'd have first to rename the file, then attach it. For that you could
> > monitor AttachmentAdd function: If you detect a file has been attached,
save
> > it as a file, remove it from the email, rename the file, and attach it
> > again.
>
>> > > Best regards
> > Michael Bauer
> > Category Manager -
> > SAM - The Sending Account Manager:
> >
>
>
>> Am Tue, 6 Apr 2010 17:03:01 -0700 schrieb primed:
> >
> >> Cheers, that works better.
> >> Can the date be reversed so its like this 100407
> >
>>
>>> Also can the files attached to the document be renamed to have the same
> > date
> >> before them.
> >
>>> Thanks
> >> Primed
> >
>>> "Michael Bauer " wrote:
> >
>>>
>>>> Sorry, the first line should look like this:
> >>
>>>> Public Sub Whatever(Mail as Outlook.MailItem)
> >>
>>>> > >>> Best regards
> >>> Michael Bauer
> >>> Category Manager -
> >>> SAM - The Sending Account Manager:
> >>>
>>>
>>>
>>>> Am Mon, 5 Apr 2010 17:41:02 -0700 schrieb primed:
> >>
>>>>> Hi Michael,
> >>>
>>>>> It came up with a run error.
> >>>> Any ideas?
> >>>
>>>>> Thanks
> >>>> Primed
> >>>
>>>>> "Michael Bauer " wrote:
> >>>
>>>>>
>>>>>
>>>>>> The script that can be run by a rule must look like this:
> >>>>
>>>>>> Public Sub Whatever(Mail as Outlook)
> >>>>> Mail.Subject=Date & " " & Mail.Subject
> >>>>> Mail.Save
> >>>>> End Sub
> >>>>
>>>>>> > >>>>> Best regards
> >>>>> Michael Bauer
> >>>>> Category Manager -
> >>>>> SAM - The Sending Account Manager:
> >>>>>
>>>>>
>>>>>
>>>>>> Am Wed, 31 Mar 2010 22:47:01 -0700 schrieb primed:
> >>>>
>>>>>>> Hi,
> >>>>>
>>>>>>> How do i automatically add the date yy/mm/dd to the front of the
> > subject
> >>>>>> header of incoming mail? Would gather its something to do with
create
> >>>>> rules
> >>>>>> then run script, but cant workout how to create a script.
> >>>>>
>>>>>>> Thanks
> >>>>>> Primed
> >>>>> .
> >>>>
>>>> .
> >>>
> > .
> >