View Single Post
 
Old 03-24-2023, 04:44 PM
fops fops is offline Windows 10 Office 2019
Novice
 
Join Date: Mar 2023
Posts: 6
fops is on a distinguished road
Default

Hi,

first thank you for your reply.

Quote:
"What you want is, if I am understanding.
To insert a timestamp at the end of the document.
Allow the user to type anywhere after the timestamp and not before.
Am I correct?"
Yes exactly. Everytime the doc is reopened (Sub AutoOpen()) a new line with timestamp and username and an additional Selection.TypeText (Chr(11)) is inserted.
So im in the line below the timestamp.
Here a user can type comments.
What i want to protect is everything above the comment line where the user is actually typing.

When the doc is reopened the process shall start again, so the doc is growing:
timestamp -> comment ; timestamp -> comment ; ...
And everytime i want to protect everything above the actual comment line.

Quote:
What do you want to trigger the insertion of the timestamp? Opening the document?
Yes exactly, opening the document.


Thank you for replying to my post and also for your effort.

Greetings
Fops

Last edited by Charles Kenyon; 03-24-2023 at 08:58 PM. Reason: add quotation markers
Reply With Quote