retrieve and use the definition string associated to a constant in an external r

  • Thread starter Thread starter alex
  • Start date Start date
A

alex

I need to retrieve and use the definition string
associated to a constant in an external referenced module.
Example: In the module there is a Enum SettlementType
wich has 2 members with these definitions:

en SettlementElectronic Electronic transmitted bill: 0
enSettlementPaper Paper: 1

How can I retrieve these values?

Can you help me?

Thanks

Ale
 
Insert new module and:

Public Const enSettlementElectronic As Long = 0
Public Const enSettlementPaper As Long = 1

and use it anywhere you want.
 
Thank you but my problem is to retrieve the definition
associated with the constants, in the previous case
<Electronic transmitted bill> and <Paper> in order to
poulate a combobox

thank you again
 
Back
Top