Cut / Paste poblems !!

DaveUK

Board Regular
Joined
Jan 24, 2005
Messages
245
Please advise.

I need to copy the activecell, which is in column A, to the cell in column Q on the same row and paste the values only on a worksheet "Temp Works" on the next empty row down. There is a header in row 1.

TIA
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Copy your range. Then go to the sheet you wish to paste into. right click in the left most cell of the new range, and choose Paste Special and then choose values. I hope this is what you needed.
 
Upvote 0
Thanks for taking the time and effort !!

I am actually looking for a VBA solution to this problem.

Regards
 
Upvote 0
Hi Dave. Nothing in your post indicated you were looking for VBA solution.

So if you record the steps once (using the macro recorder), you'll have a recorded macro. Once there, you can alter it if you need to.
 
Upvote 0
DaveUK said:
Thanks for taking the time and effort !!

I am actually looking for a VBA solution to this problem.

Regards
Hi DaveUK:

Try ...
Code:
        ActiveCell.Copy
        Cells(ActiveCell.Row, 17).PasteSpecial
        Sheets("temp").Cells(WorksheetFunction.CountA(Sheets("temp").Range("a:a")) + 1, 1).PasteSpecial Paste:=xlValues
        Application.CutCopyMode = False
 
Upvote 0

Forum statistics

Threads
1,222,310
Messages
6,165,258
Members
451,949
Latest member
bovacik

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top