Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Below is a snippet of code I use to place data from a userform onto a
worksheet and to return a value to the userform. I am recreating my worksheet and am using Defined Names for the cells. The rng(1, 47) = start 1, the rng(1, 48) = end 1 ect. I am doing this because I had to add a couple columns here and remove one there, which means that now almost all my rng references are wrong. So can I reference the defined name and achieve the same result. TextBox1.Text = rng(1, 47).Text TextBox2.Text = rng(1, 48).Text TextBox3.Text = rng(1, 50).Value TextBox3.Text = Format(TextBox3.Text, "0.0") TextBox4.Text = rng(1, 53).Text |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
create defined name using variable file name in reference | Excel Worksheet Functions | |||
Need to use the reference in a defined name in adifference colum | Excel Discussion (Misc queries) | |||
Updating cells which reference a defined name | Excel Discussion (Misc queries) | |||
VBA for changing a defined name reference | Excel Programming | |||
User-defined function creating circular reference | Excel Programming |