Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Give this a whirl...
Sub test() Dim src As Range Dim dest As Range Set src = Range("A23:AA24") Set dest = Range("A27").Resize(src.Rows.Count, src.Columns.Count) MsgBox dest.Address End Sub -- HTH... Jim Thomlinson " wrote: I am using the OWC and i need to build a range from another range using a starting cell. So i have src.address = "A23:AA24" dest.address = "A27" I need to calculate the end of the range based on the dest.address cell. the end result would be dest.address = "A27:AA28" I need to do this wil Excel vba... any ideas? thanks TT |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I re - build border of my cell? | Excel Discussion (Misc queries) | |||
build a chart in a cell | Excel Discussion (Misc queries) | |||
HD I build funct @if cell=AorBorC then ...else if cell=DorE then | Excel Worksheet Functions | |||
How to build a forward/back range finder | Excel Programming | |||
How to build build a macro that automatically imports | Excel Programming |