So I'm trying to get a macro to run when I open specific documents. I've made a macro that will check the doc name but how do I get it to run the check upon opening a document?
place in 'CorelDraw X7 Objects'
Private Sub GlobalMacroStorage_DocumentOpen(ByVal Doc As Document, ByVal FileName As String)(place your action code here)End Sub