PC Review


Reply
Thread Tools Rate Thread

Copy row to different worksheet

 
 
PamG
Guest
Posts: n/a
 
      3rd Oct 2008
I want to copy a row of data in one worksheet (Wkst 1) to the first blank row
in another worksheet (Wkst 2). The problem is that Wkst 2 has an additional
column as column 1, so I want to copy the row (which starts on column A) in
Wkst 1 to Wkst 2 starting at column B.


If IsError(Application.Match(CStr(R.Value), V, 0)) = True Then
R.EntireRow.Copy Sheets("Issues").Range("B65536").End(xlUp) (2)
.EntireRow.PasteSpecial Paste:=xlPasteValues


This code copies to Wkst 2, but to column A, not column B!

Please help!

Thanks
Pam


 
Reply With Quote
 
 
 
 
Jim Thomlinson
Guest
Posts: n/a
 
      3rd Oct 2008
You are copying and pasting the entire row so you can not define the column
as you are working with all of the columns in that row.
--
HTH...

Jim Thomlinson


"PamG" wrote:

> I want to copy a row of data in one worksheet (Wkst 1) to the first blank row
> in another worksheet (Wkst 2). The problem is that Wkst 2 has an additional
> column as column 1, so I want to copy the row (which starts on column A) in
> Wkst 1 to Wkst 2 starting at column B.
>
>
> If IsError(Application.Match(CStr(R.Value), V, 0)) = True Then
> R.EntireRow.Copy Sheets("Issues").Range("B65536").End(xlUp) (2)
> .EntireRow.PasteSpecial Paste:=xlPasteValues
>
>
> This code copies to Wkst 2, but to column A, not column B!
>
> Please help!
>
> Thanks
> Pam
>
>

 
Reply With Quote
 
Otto Moehrbach
Guest
Posts: n/a
 
      3rd Oct 2008
Pam
Copy just the occupied cells in that row instead of the whole row, then
paste to one cell in Column B of the other sheet. HTH Otto
"Jim Thomlinson" <James_Thomlinson@owfg-Re-Move-This-.com> wrote in message
news:BB53A568-1F66-42DF-9D27-(E-Mail Removed)...
> You are copying and pasting the entire row so you can not define the
> column
> as you are working with all of the columns in that row.
> --
> HTH...
>
> Jim Thomlinson
>
>
> "PamG" wrote:
>
>> I want to copy a row of data in one worksheet (Wkst 1) to the first blank
>> row
>> in another worksheet (Wkst 2). The problem is that Wkst 2 has an
>> additional
>> column as column 1, so I want to copy the row (which starts on column A)
>> in
>> Wkst 1 to Wkst 2 starting at column B.
>>
>>
>> If IsError(Application.Match(CStr(R.Value), V, 0)) = True Then
>> R.EntireRow.Copy Sheets("Issues").Range("B65536").End(xlUp)
>> (2)
>> .EntireRow.PasteSpecial Paste:=xlPasteValues
>>
>>
>> This code copies to Wkst 2, but to column A, not column B!
>>
>> Please help!
>>
>> Thanks
>> Pam
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending copy worksheet to mailrecipient - mail adress indicated incell in worksheet Snoopy Microsoft Excel Discussion 1 19th Aug 2009 12:51 PM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Microsoft Excel Worksheet Functions 4 7th Sep 2006 05:05 PM
Unable to Insert Worksheet/Move and copy worksheet Excel 2003 lukerush Microsoft Excel Worksheet Functions 0 7th Sep 2006 03:37 PM
copy range on every worksheet (diff names) to a master worksheet (to be created) Bernie Microsoft Excel Programming 2 22nd Sep 2004 03:30 PM
copy range on every worksheet (diff names) to a master worksheet (to be created) Bernie Microsoft Excel Programming 0 22nd Sep 2004 03:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:22 AM.