Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
Im looking for VB that goes to cell C1, then goes down column C until it hits a cell with information in it. Select that cell and copy and paste it all the way to the right until it hits another cell in that row.... ANy ideas most welcome!!! Regards D *** Sent via Developersdex http://www.developersdex.com *** |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub EFG()
Dim rng As Range, rng2 As Range Set rng = Range("C1").End(xlDown) Set rng2 = rng.End(xlToRight) Range(rng(1, 2), rng2(1, 0)).Value = rng.Value End Sub -- Regards, Tom Ogilvy "Darin Kramer" wrote: Hi There, Im looking for VB that goes to cell C1, then goes down column C until it hits a cell with information in it. Select that cell and copy and paste it all the way to the right until it hits another cell in that row.... ANy ideas most welcome!!! Regards D *** Sent via Developersdex http://www.developersdex.com *** |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Range("C1").End(xlDown).Select
Selection.Copy Range(Selection, Selection.End(xlToRight).Offset(-1,0)) HTH Charles Chickering Darin Kramer wrote: Hi There, Im looking for VB that goes to cell C1, then goes down column C until it hits a cell with information in it. Select that cell and copy and paste it all the way to the right until it hits another cell in that row.... ANy ideas most welcome!!! Regards D *** Sent via Developersdex http://www.developersdex.com *** |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy formulae in excel | Excel Discussion (Misc queries) | |||
Copy down a range of formulae | Excel Worksheet Functions | |||
copy between worksheets does not copy formulae just values | Excel Discussion (Misc queries) | |||
Macro to Insert a row and copy Formulae | Excel Programming | |||
Copy Down Formulae | Excel Programming |