Macro To Paste "Values Only" into next blank row of ANY active sheet

christechgeek

New Member
Joined
Sep 1, 2012
Messages
7
I work at an auto dealership and I have a worksheet that lists open (not funded) contracts and this list will be updated daily throughout the month. I have a droplist with 2 options that can be selected once a contract is either "Booked" or "Funded". Periodically someone will sort the "Funded" contracts and copy these to a sheet named the month they were sold in. There will be sheets for each month January through December.
There could probably be an automated solution to this that once a contract is marked as "Funded" that it automatically moves to the appropriate month's sheet and deletes from the primary (Current Month) sheet. (If someone could help me figure that out, it would great!)

But what I'm actually trying to do here is just to have a macro that once someone copies the funded contracts and they go to the appropriate month's tab, that I have a button tied to a macro that will paste values only into the next available empty row.
I have played with a few different ways of doing this and haven't found my perfect solution. Can someone help?

Thanks in advance.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
I finally came up with this that seems to work:

PHP:
Sub PasteValuesOnly()
'
' PasteValuesOnly Macro
'

    ActiveSheet.Select
    Range("A" & Rows.Count).End(xlUp).Offset(1).Select
    Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
    Application.CutCopyMode = False
End Sub

But if anyone has any suggestions to automate this so that it automatically cuts and pastes information when "Funded" is selected it would be greatly appreciated!
 
Upvote 0

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

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