tdunbar's blog

Dynamically Naming a File in TaskCentre

http://travisdunbar.blogspot.com/2009/12/taskcentre-dynamically-naming-file.html

Took me a bit of playing around to dynamically generate the name of a file I was saving. I blogged an though I would share.

My goal was to save a file using the current date; for example:

foo_MMDDYYYY.txt

In the Save As File object, set the Filename property as so:

Week16_{=Month(Date())}{=Day(Date())}{=Year(Date())}.txt

Syndicate content