Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 354
Default VBA, How to make data dynamic growing along with another sheet

Hi
How to program/name so that data growing along with other sheet. For example
the "date" column with grow with "date" column at other worksheet?
Thanks
Daniel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default VBA, How to make data dynamic growing along with another sheet

Let's say the date column is in Column A.

Dim myRange as range
Dim lRow as long
Dim aWS as worksheet
set aWS = activesheet 'Change as needed
set myrange = aws.range("A1") 'Change as needed
lRow = aws.cells(aws.rows.count, myrange.column).end(xlup).row
set myRange = myrange.resize(lrow - myrange.row + 1, 0)

--
HTH,
Barb Reinhardt



"Daniel" wrote:

Hi
How to program/name so that data growing along with other sheet. For example
the "date" column with grow with "date" column at other worksheet?
Thanks
Daniel

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
File size growing growing exponentially Steve Excel Discussion (Misc queries) 3 May 24th 09 06:29 PM
Growing/Shrinking/Selective Chart Data Rob Charts and Charting in Excel 12 November 4th 08 02:32 PM
use dynamic data source to make pivot table henry Excel Discussion (Misc queries) 0 July 15th 08 02:18 PM
Can you make a chart's data *always* refer to a dynamic range name? Chrisso Charts and Charting in Excel 2 August 24th 07 12:30 PM
Can you filter sheet of data & on another sheet make four groups under each other? Marie J-son[_7_] Excel Programming 0 February 28th 06 12:12 PM


All times are GMT +1. The time now is 03:06 PM.

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

About Us

"It's about Microsoft Excel"