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

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
 
L

losmac

Insert new module and:

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

and use it anywhere you want.
 
A

alex

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
 

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

Top