Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I want to lock a field value on leaving a sheet .
I have the following data ..
Load * inline [
User
A
B
C];
When ever I leave the sheet i want to lock the B value of the Field user . I tried the sheet triggers but not successful . Hope this is achieved using the macro.
Please guide me.
Hi, try this macro :
Sub Lock_User ActiveDocument.Fields("User").Select "B" ActiveDocument.Fields("User").Lockend sub
Once the maccro is ready, you have to configure the trigger from the sheet properties, adding the macro on the 'leave sheet' event.
greetings