Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Change the Range refering to a Name
I have a userform and after inserting data need to update the range that is
defined to a range name(say from A1:A84 to A1:85, and so on) so that I can see the new data in a pull down list I use. How can I do this using VBA? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Change the Range refering to a Name
Take a look at Jon Peltier's site on Dynamic Charts. He details the steps
you need to take to create a dynamic named range, which will expand or contract depending on the amount of data in the column. You can probably adapt this to your purposes. http://peltiertech.com/Excel/Charts/index.html#hdrDyno "TonTon165" wrote: I have a userform and after inserting data need to update the range that is defined to a range name(say from A1:A84 to A1:85, and so on) so that I can see the new data in a pull down list I use. How can I do this using VBA? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Change the Range refering to a Name
Thanks, it seems to have worked
"JonR" wrote: Take a look at Jon Peltier's site on Dynamic Charts. He details the steps you need to take to create a dynamic named range, which will expand or contract depending on the amount of data in the column. You can probably adapt this to your purposes. http://peltiertech.com/Excel/Charts/index.html#hdrDyno "TonTon165" wrote: I have a userform and after inserting data need to update the range that is defined to a range name(say from A1:A84 to A1:85, and so on) so that I can see the new data in a pull down list I use. How can I do this using VBA? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Change block range into one column | Excel Discussion (Misc queries) | |||
Using if or sum if to change range of sums | Excel Discussion (Misc queries) | |||
HOW TO USE A FORMULA TO CHANGE CELL COLOR ACCORDING TO DATE RANGE. | Excel Worksheet Functions | |||
How do you change the size of a range of cells in a column/row | Charts and Charting in Excel | |||
How do I change an Excel range of cells from relative to absolute. | Excel Worksheet Functions |