Including record formats into modules

jhoward0101

New Member
Joined
Jan 7, 2017
Messages
15
Hello,
I'm looking for the best way to manage a group of data record layouts where I can create one module with these record layouts, (all DIM names and types), and include them into worksheets with 30 separate code modules.
I would like to modify the record layouts in one place, and have all modules in all worksheets use the same record layout.
Is this possible in VBA?
Thanks, in advance, for any help with this.
James Howard
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
James

What do you mean by a 'record layout'?
 
Upvote 0
James

What do you mean by a 'record layout'?

Might be a little old school, but I define each cell in a row with a variable name and type. Have several sheets where cell in a row have a name and variable type, such as CallPrice, CallExpireDT, CallTicker, etc. I continually add new variables to these rows and want to create a layout for the row, and have all modules that reference the data use the same layout and cell name.

Hope that makes sense.

Thanks
 
Upvote 0
Couldn't you use named ranges or headers to identify each column?
 
Upvote 0
How would I use headers so that all modules could refer to them. When changing the headers, all macros have the change?
Thanks
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top