![]() |
#1
|
|||
|
|||
![]()
Hi,
as in topic, I want to dynamically protect the entire doc except the actual line where the corsor is. I think of somthing like first evaluating the lines with: linesInDoc = ActiveDocument.BuiltInDocumentProperties(wdPropert yLines) or chars with: charsInDoc = ActiveDocument.Characters.Count and based on that inforamtion protect the document. I have a doc with vba script which extends the doc everytime the doc is opened. The script inserts a new line with timestamp and username and below that a user can type text. The goal is, as stated above, to protect everything except the actual line for typing the next comment. The doc looks like in attachment. Thank you in advance! fops |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Ddadoo57 | Word VBA | 2 | 03-13-2023 06:02 AM |
How do I un-protect docs I didn't protect? | doctorduncan | Word | 4 | 05-30-2019 11:09 AM |
![]() |
laurarem | Word | 1 | 02-21-2013 10:17 PM |
![]() |
TBoz | Excel | 1 | 07-06-2012 05:53 PM |
![]() |
RSchmidt | Word | 1 | 07-14-2011 04:27 PM |