D
David Sisson
I work in a small office enviroment. Being that it's small, when
someone is absent, others sometimes have to finish reports for that
person. We run into permission problems with documents. (.doc)
In particular, I have written some code that reads information for a
floppy and inserts that data into a document with formfields. No
problems so far. The report is printed immediately and the doc is
never saved. So if it gets opened as read only, there's no problem.
In my searching of the forums, the best answer seems to be, to this is
a template, instead of a document. That's no problem. I can correct
that easily.
However, all that data is collected in another document for a monthly
report. As the infomation is pulled and inserted from the floppy, I
also insert it into a word table that is the monthly report doc file.
This one is where I have trouble. Since someone else could be
processing the report other than the original user, the macro always
stops and asks the user to change the name because Word opens it as a
read only. Since we get floppies all during the month, changing the
name could result in multiple copies and lost info. (Not all of the
employees are computer savy either in knowing the difference in
templates and documents)
My thoughts on this are to write the data to a text file, and then when
the monthly report is due, open a template and insert from the text
file. Would I have the same problem with the text file? (Or INI file)
Exporting to Excel or Access seems a bit overkill.
Are there any better solutions?
someone is absent, others sometimes have to finish reports for that
person. We run into permission problems with documents. (.doc)
In particular, I have written some code that reads information for a
floppy and inserts that data into a document with formfields. No
problems so far. The report is printed immediately and the doc is
never saved. So if it gets opened as read only, there's no problem.
In my searching of the forums, the best answer seems to be, to this is
a template, instead of a document. That's no problem. I can correct
that easily.
However, all that data is collected in another document for a monthly
report. As the infomation is pulled and inserted from the floppy, I
also insert it into a word table that is the monthly report doc file.
This one is where I have trouble. Since someone else could be
processing the report other than the original user, the macro always
stops and asks the user to change the name because Word opens it as a
read only. Since we get floppies all during the month, changing the
name could result in multiple copies and lost info. (Not all of the
employees are computer savy either in knowing the difference in
templates and documents)
My thoughts on this are to write the data to a text file, and then when
the monthly report is due, open a template and insert from the text
file. Would I have the same problem with the text file? (Or INI file)
Exporting to Excel or Access seems a bit overkill.
Are there any better solutions?