View Single Post
 
Old 03-16-2017, 01:50 AM
PellePetimeter PellePetimeter is offline Windows 10 Office 2016
Novice
 
Join Date: Mar 2017
Posts: 3
PellePetimeter is on a distinguished road
Default

It works, thanks!
But this macro starts each time any content control gets focus. So I need to either change the code so it just starts when a specific content control is marked or do something like:

Code:
Private Sub Document_ContentControlOnEnter(ByVal CC As ContentControl)
If CC.Title like "Leder" Then doSomeThing
End Sub
It's been i while since I worked with macros so it's not stright forward to me, but I'll figuere it out.
Reply With Quote