fhgr2 / scroll-exporter-templates

Templates for scroll exporter for Confluence.
0 stars 0 forks source link

Macros do not run #30

Open studermartin opened 5 years ago

studermartin commented 5 years ago

Sometimes the macros simply do not run. I cannot reproduce the behavior.

What might help:

What to try: Do some logging: Sub LogFileMacro(wrtstring As String) Dim strFile_Path As String Dim fHandle As Integer

fHandle = FreeFile

strFile_Path = "D:\studermartin\Downloads\log.txt" Open strFile_Path For Append As fHandle Write #fHandle, Now() & " : " & wrtstring Close fHandle End Sub

studermartin commented 5 years ago

I simply had to open the macro view once, insert some spaces and safe it. As though the macros get disconnected.