Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi to all, new at this.
I am wanting to copy a range in a row from one worksheet to another by selecting the cell in "A" eg.: by clicking on a cell in worksheet 1 "A?", I can copy range A to F in that row to worksheet 2 in the next available row. please help Thanks Kezza |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Kezza
Sub copyRow() Dim R As Range On Error Resume Next Set R = Application.InputBox("Click A cell:", _ "Will copy this row", Type:=8) If R Is Nothing Then Exit Sub On Error GoTo 0 Set R = R.Resize(1, 5) R.copy Sheets(2).Cells(65000, 1).End(xlUp).Offset(1, 0) End Sub HTH. Best wishes Harald "Kezza" skrev i melding oups.com... Hi to all, new at this. I am wanting to copy a range in a row from one worksheet to another by selecting the cell in "A" eg.: by clicking on a cell in worksheet 1 "A?", I can copy range A to F in that row to worksheet 2 in the next available row. please help Thanks Kezza |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying cell formatting when selecting from a list | Excel Discussion (Misc queries) | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
selecting range and copying to new worksheet | Excel Programming | |||
Selecting and copying a dynamic range of cells | Excel Programming | |||
Selecting & Copying a Changing Range | Excel Programming |