Macro - for 'Extrude to Surface'

Hi,

Here's what I would like to do.

1. After a sketch is done, pick a surface that I want to extrude to

2. Click on a custom created Macro button for the task and finish.

The macro button I can create myself but the macro itself is a bit tricky and needs some API background. I recorded a macro but it won't work as it cannot identify which is the relevant surface.

I know there are pros in here who could do this in their sleep. 

If you happen to see this and could give me a hand, it will be much appreciated and would help me explore further too.

thank you

jose

SolidworksApi/macros