It's possible to create a macro that activates a bookmark and then exports a table to excel. Here's an example with a macro to export an object to excel.
To activate a bookmark add these two lines:
Thanks Gysbert... it is really helpful .. i just want to ask you one more thing...
Can i call a Macro sub or function in my script........ ??????????????
i tried to call a macro function in the script and get the value that function in variable but it is coming NULL
Can you please help me regarding this