Quick question: (Excel 2003)
Is it possible to make an enumeration list appear in the spreadsheet when a user calls a user-defined function?
Example:
=RelativeVolatility(Compound, HKref, TdegC)
where the compound of interest and the reference heavy key are enumeration lists
NHexane = 0
NOctane = 1
NDecane = 2
OleicAcid = 3
When calling the function from the VBE the enum list will appear. Is it possible to make this list appear from the worksheet? The only options I can see are either A) make the user provide the integer equivalents, or B) make the Compound and HKref arguments a string and use a look-up function to assign the correct enum (which defeats the purpose of an enum).
-JTBorton
Well, You can try banging your head against the wall, but you just end up with lost-time injuries and damaged equipment. [M. Passman]
Is it possible to make an enumeration list appear in the spreadsheet when a user calls a user-defined function?
Example:
=RelativeVolatility(Compound, HKref, TdegC)
where the compound of interest and the reference heavy key are enumeration lists
NHexane = 0
NOctane = 1
NDecane = 2
OleicAcid = 3
When calling the function from the VBE the enum list will appear. Is it possible to make this list appear from the worksheet? The only options I can see are either A) make the user provide the integer equivalents, or B) make the Compound and HKref arguments a string and use a look-up function to assign the correct enum (which defeats the purpose of an enum).
-JTBorton
Well, You can try banging your head against the wall, but you just end up with lost-time injuries and damaged equipment. [M. Passman]