How to select first blank cell in specific column in next sheet?

Tardisgx

Board Regular
Joined
May 10, 2018
Messages
81
[FONT=&quot]https://imgur.com/a/2ejmwWa[/FONT]
[FONT=&quot]I have something copied on my clipboard and I want to select sheet 2 row F (first blank cell)[/FONT]
[FONT=&quot]and I have the pasting code ready but I can't fix the in-between despite searching forums such as this one.[/FONT]
[FONT=&quot]The first picture starts at the copy action. after copy I try to select the other sheet and perform the above^[/FONT]
[FONT=&quot]The second picture is the whole macro.

The code to find the first blank cell in f is a mess now after different iterations; ignore it. [/FONT]
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
The problem is here:

.End(xlUp)

You have it as .End(x1Up), it should be .End(xlUp). It should be a lowercase "L" in "xlUp", not a 1.
 
Upvote 0
Why not post your code here and not as a image. If you look around the forum you will see most people post their code here.
 
Upvote 0
Sub Nomatchfinder()
'
' Nomatchfinder Macro
'


'
Cells.Select
Application.CutCopyMode = False
Selection.AutoFilter
ActiveSheet.Range("$A$1:$E$24112").AutoFilter Field:=4, Criteria1:= _
"Not Found"
Range("C2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("PPIDs here").Select
Range(Selection, Sheets("PPIDs here").Cells(Rows.Count, "F").End(xlUp).Offset(1)).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub
 
Upvote 0
Sub Nomatchfinder()
'
' Nomatchfinder Macro
'


'
Cells.Select
Application.CutCopyMode = False
Selection.AutoFilter
ActiveSheet.Range("$A$1:$E$24112").AutoFilter Field:=4, Criteria1:= _
"Not Found"
Range("C2").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("PPIDs here").Range("F1").End(xlDown).Offset(1, 0).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub

Does not work mthod of range class failed or object not defined
 
Upvote 0

Forum statistics

Threads
1,223,935
Messages
6,175,494
Members
452,649
Latest member
mr_bhavesh

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