![]() |
|
#1
|
|||
|
|||
![]() Sorry I uploaded the AT2 version instead of the AT3 one but the principle is the same. |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Great almost there. I've just changed a few things. The dob format would have to be 01.01.1990 so I added .doc the end of RefNo.
My only problem is that these are stored in various directories and saving them to a specific one won't work. Is there any way of opening the 'save as' dialogue with the correct format present? It seems to be saving it in the default save path anyway rather than the ChDir specified path. |
#4
|
|||
|
|||
![]()
Hi
The only issue now is that you cannot have more than one full stop in a filename as Microsoft looks for the first full stop in a filename and then uses wverything after it to determine which application was used to produce the document. Having 4 full stops in the filename will confuse Microsft Word. You will need to choose another separator for the date of birth other than a period or an arithmetic operator. I will look at the other option you are after. Tony |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
AquaSabes | Excel | 1 | 09-22-2011 02:29 AM |
![]() |
don madsen | Word | 6 | 09-16-2011 09:02 PM |
Word: The document 'Filename' caused a serious error the last time ... | martincruise | Word | 0 | 02-25-2010 01:47 AM |
Can't save word document in anything but read format | Stuckie | Word | 0 | 01-21-2010 12:46 PM |
Document Get Deleted When We save | dil_09 | Word | 0 | 08-29-2009 09:59 PM |