User Defined types

M

mits

Hi,

Is there way you can modified User-Define-Type during
during the execution of the application?

Say for example,
In the Declarations, i declar follwoing:
'******************************
Type MyRecord
rdDate As Date
rvTime As Variant
End Type
'******************************


During Execution I want it to look like this
'****************************
Type MyRecord
rdDate As Date
rvTime As Variant
rsOpName As String '<--Add during Execution
rsOutFName As String '<--Add during Execution
End Type
'****************************

Is there way I can do that?

Thank for your help.
 
C

Chip Pearson

You can't modify the structure of user defined types at run time.
Why not just code the type the way it needs to be?


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 
Top