Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
manojkulkarni
Partner - Specialist II
Partner - Specialist II

Macro from Access Point

Hi friends,

I am using below code in a macro, macro is being triggered by Button Action. Below code executes only once when i trigger event from Access point .

Dim fso, f1

   Set fso = CreateObject("Scripting.FileSystemObject")

  Set f1 = fso.CreateTextFile("C:\Test.txt", True)

    f1.Write ("writing to text file")

f1.Close

Labels (1)
1 Reply
marcus_sommer

Try this:

...

Set f1 = fso.OpenTextFile("C:\Test.txt", 2, true)

...

- Marcus