I guess you won't be able to make it via macro....
Can't you allow Document Download from AccessPoint? Go to QMC > System > Setup > QVServer > Documents > Allow Document Download.
Then, you'll have to enable download for each document. Go to QMC > Documents > User Documents > [select the document] > Server > Avaliability > Download Document. You can define permissions for specific users.
Hope this helps
Thank you for your reply.
It is good to have this functionality in Management Console, although it is not as convenient for the end user
(they will have to input manually the name of the file to be saved, while they wanted to have it automatically set through variables - that is why I wrote the macro code),
it is still a working solution for client's need.