Help with Macro - Copy and paste into next available spot

San Antonio Heat

Active Member
Joined
Oct 10, 2003
Messages
333
Office Version
  1. 2019
Platform
  1. Windows
I'm trying to copy from sheet 1 F9 through K9. Once copied it goes to sheet 2 (LIST) and is pasted in the first open spot using the A column as the guide. What I am doing is entering info, clicking a button that runs this macro and it copies and pastes into the LIST page in the next open spot. I think the red text in the code below is where the issue is coming from.

Example of list
LOG#RST#CUSTOMERTYPEADDEDREQUEST
3284​
292595​
FORM TECHMAF STS PANELS (26) STRIP CRNR, RIGID CRNR
17-Nov​
9-Dec​
3320​
1717546​
PERI FORMWORKSIMBEDS (250) 9FT ASSEM, 140K PLASTIC CAPS(500)
22-Nov​
13-Dec​


' Macro2 Macro
'

'
Range("F9:K9").Select
Selection.Copy
Sheets("LIST").Select
Range("A2").Select
Selection.End(xlDown).Select
Range("A15").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Range("A16").Select

Sheets("Sheet1").Select
Range("L9").Select
End Sub
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
How about
VBA Code:
Range("F9:K9").Copy Sheets("LIST").Range("A" & Rows.Count).End(xlUp).Offset(1)
Range("L9").Select
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,756
Messages
6,126,690
Members
449,329
Latest member
tommyarra

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