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