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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Removing fields - Multibox

Hello,

Is it possible via a macro to delete all the fields via a VB macro?

I used the following script:

SUB ResetInputField

  set obj = ActiveDocument.GetSheetObject("MB06")

          for i =0 to 1000

  obj.RemoveField i

  next

END SUB

My concern is to set the max. I can't get the number of the last line completed in the multibox.

Do you have any ideas?

Thanks

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try adding an On Error Resume Next line to the sub above the line where you remove the field from the multibox.


talk is cheap, supply exceeds demand