Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Lock all the controls in the hole document

Wrong number of arguments or invalid property assignment: 'q.LockAll'

My code


Sub Bloquear
Set q = ActiveDocument
q.LockAll (true)
end sub

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

According to the V9 API guide, LockAll takes no arguments. So it should be just:

q.LockAll

-Rob