L
Legacy 433589
Guest
Hi, long time listener, first time caller...
I've searched both the internet at large and this forum, and all the responses that pop up go in reverse - how to use the variables in VBA to reference cells in various dynamic ways.
I have a variable in my VBA code (based on an embedded checkbox form, which does not have a Control tab on the Format Control window) that I would like to reference in a formula in a cell on a worksheet. I can find no reference for doing this.
If I just type in "=[variable name]" in a cell, I get a #NAME ? error.
I'm pretty advanced with Excel, but my formal training in it was 20 years ago, so I've missed many things that were introduced since then (and that training never did cover VBA scripting), and there are other things I may just not have been exposed to yet. I do have the MrExcel VBA and MACROS book handy, but a quick skim through the Table of Contents and Index aren't showing any promising entries. So I realize this may be a dumb question one way or the other.
Is this possible? If so, how?
I've searched both the internet at large and this forum, and all the responses that pop up go in reverse - how to use the variables in VBA to reference cells in various dynamic ways.
I have a variable in my VBA code (based on an embedded checkbox form, which does not have a Control tab on the Format Control window) that I would like to reference in a formula in a cell on a worksheet. I can find no reference for doing this.
If I just type in "=[variable name]" in a cell, I get a #NAME ? error.
I'm pretty advanced with Excel, but my formal training in it was 20 years ago, so I've missed many things that were introduced since then (and that training never did cover VBA scripting), and there are other things I may just not have been exposed to yet. I do have the MrExcel VBA and MACROS book handy, but a quick skim through the Table of Contents and Index aren't showing any promising entries. So I realize this may be a dumb question one way or the other.
Is this possible? If so, how?