Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro not working in Ajax mode

Hi all,

I have this Macro not working in Ajax mode. This code is called by a button click. Can someone please help tell me if there are any alternate wayt to accomplish it. Or am I doing any incompatible functional calls here?

SUB ResetFacility

rem ** Ckeck is chart is maximized if so refresh different field **
set c=ActiveDocument.GetSheetObject("CH449")

if c.IsMinimized then
'ActiveDocument.Fields("DateField1").Clear
' msgbox("Facility")
ActiveDocument.Fields("LocationID").Clear
ActiveDocument.Fields("DateFiled1").Clear

else
'msgbox("Date")
ActiveDocument.Fields("DateFiled1").Clear
ActiveDocument.Fields("DollarAmount").Clear
end if


Thanks

Raghu

1 Reply
marcus_sommer

Generally macros in AJAX won't work - but you could this make with actions, too.

- Marcus