Getting own workbook

  • Thread starter Thread starter Sonnich Jensen
  • Start date Start date
S

Sonnich Jensen

Hi!

Is there a way to get the workbook, where a module belongs to?

I need to get "myself" in a module. It creates a new workbook, but
still needs to work in its own stuff.

Tervitades
Sonnich
 
Sonnich,

Thisworkboook

When used in code, it always refers to the workbook containing the code.

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top