Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
TonTon165
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
JonR
 
Posts: n/a
Default 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   Report Post  
Posted to microsoft.public.excel.misc
TonTon165
 
Posts: n/a
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change block range into one column cbart Excel Discussion (Misc queries) 4 March 29th 06 10:14 PM
Using if or sum if to change range of sums Stuck with Excel Excel Discussion (Misc queries) 1 November 17th 05 03:30 PM
HOW TO USE A FORMULA TO CHANGE CELL COLOR ACCORDING TO DATE RANGE. terry Excel Worksheet Functions 2 December 27th 04 04:07 AM
How do you change the size of a range of cells in a column/row SOkoll Charts and Charting in Excel 1 December 8th 04 06:43 AM
How do I change an Excel range of cells from relative to absolute. Jrhenk Excel Worksheet Functions 2 November 15th 04 10:55 PM


All times are GMT +1. The time now is 07:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"