User Defined types

  • Thread starter Thread starter mits
  • Start date Start date
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.
 
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
 

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

Back
Top