Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to write a macro but the range of data will change every time I access
the report. I don't know how to specify a range that isn't static. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
last non empty cell in column A :
rw=sheets("Sheet1").cells(65536,1).end(xlup).row or select from activecell to last cell : Range(Selection, ActiveCell.SpecialCells(xlLastCell)).Select "AT" skrev: I need to write a macro but the range of data will change every time I access the report. I don't know how to specify a range that isn't static. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Data is in multi-rows and columns or in one column or??
What you want is doable but need more info please. Example................... Set rng = Range(Range("B1"), Cells(Rows.Count, 2).End(xlUp)) rng will be from B1 down to the last cell in column B with data Gord Dibben MS Excel MVP On Wed, 12 Dec 2007 13:15:00 -0800, AT wrote: I need to write a macro but the range of data will change every time I access the report. I don't know how to specify a range that isn't static. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Define "isn't static"... Increasing rows? Increasing columns? Address changing?
-- HTH... Jim Thomlinson "AT" wrote: I need to write a macro but the range of data will change every time I access the report. I don't know how to specify a range that isn't static. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to write a macro to modify an Excel chart | Charts and Charting in Excel | |||
Date Range -- Weekly | Excel Worksheet Functions | |||
is it possible to execute write to the fields in another .xsl form a macro in another .xsl? e.g. some way to load another .xsl into an .xsl macro and write to its data? | Excel Worksheet Functions | |||
How to write a macro to get the system time in excel 97 | Excel Discussion (Misc queries) | |||
how do I write a formula that will figure weekly overtime? | Excel Worksheet Functions |