Call Private Function from ThisWorkbook module

  • Thread starter Thread starter Bob Phillips
  • Start date Start date
B

Bob Phillips

Beto,

No, if it's private it means that it doesn't want to be accessible from
another module. It needs to be Public for that.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
The way you describe is how you reference a Public function in a class
module, like ThisWorkbok, from another module.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Hi,

Is it possible to call a Private Function, which resides in a normal
module, from the ThisWorkbook module?

If it can be done, How?

Regards,
 
Bob said:
Beto,

No, if it's private it means that it doesn't want to be accessible from
another module. It needs to be Public for that.

Just what I thought. I was hoping there may be a way to reference the
module and then the function, sort of like "Module1.Function1". Anyway,
I already solved my problem with a workaround.

Regards,
 
Back
Top