Block collapse macro

Hi, is there any macro for setting a block to be collapsed or not?

Afaik no. But you can make a block visible/unvisible. Might be a work-around.

Yes but hidding is not a solution for me, i have a form with 2 blocks starting closed and enabled only in update mode, after a user will insert a new record he will be redirected to the new entry added in order to assign data in those blocks and a macro for collapse would been nice.