View Single Post
 
Old 09-30-2011, 08:23 AM
OTPM OTPM is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
First of all you cannot use arithmetical operators in a filename. So a format of dd/mm/yyyy cannot be used. In the example I have used dd-mm-yyyy.
See template with code embedded herewith.
You need to change one line of code to suit your needs as follows:
ChDir "D:\Test Folder"
Change it to the location you want to save your files to.
As for putting a mask in the DoB cell you can do this if you set up an online form.
Hope this helps.
Good luck.
Tony
Attached Files
File Type: zip Pre Defined FileName Template.zip (28.4 KB, 13 views)
Reply With Quote