How to attach Raster PDF on page 3 programmatically ?

Hi,

I search and i research.  I can't find and exemple to attach one RASTER PDF on page 3.

The same as the exemple https://communities.bentley.com/products/microstation/f/z_-archived-microstation-v8i-forum/70349/how-to-attach-page-3-of-a-pdf but programmatically in vba code.

I have to get the current page number.

Someone can help me?

Thanks

Mario

MicroStation V8i (SELECT series 2) - Version 08.11.07.443