Greetings,
I'm working with Access/word 2007; I have a button on a form which allows users to fill a .doc and save it to C:
I used the method described in FAQ702-2379
All works fine, in particular:
BUT if I want to use a longer path, like
"C:\documents and settings\eric\mes documents\objectif\acomptes\acompte " ...
i get 5152 error "invalid file name...."
I tried with various combinations of names...didn't make it.
Is it possible that saving is limited to 4 folders/subfolders ?!? Is there any way to get past that?
Thanks in advance for any advice.
Jonath.
I'm working with Access/word 2007; I have a button on a form which allows users to fill a .doc and save it to C:
I used the method described in FAQ702-2379
All works fine, in particular:
Code:
file.activedocument.saveas ("C:\documents and settings\eric\mes documents\objectif\acompte " & Cstr(Forms![enqueteur]![Nom]) & ".doc")
BUT if I want to use a longer path, like
"C:\documents and settings\eric\mes documents\objectif\acomptes\acompte " ...
i get 5152 error "invalid file name...."
I tried with various combinations of names...didn't make it.
Is it possible that saving is limited to 4 folders/subfolders ?!? Is there any way to get past that?
Thanks in advance for any advice.
Jonath.