gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,338
- Office Version
- 365
- Platform
- Windows
I am getting an error on: If PPLR > 2 Then Sheets("Escalation Table Escalations").Range("A3:F" & PPLR).Select
Not sure why. Sheet name is correct
thanks for the help
Not sure why. Sheet name is correct
Code:
Sub GetEscalation()
'Make a table from ProPricer Import
Dim PPLR As Long
'Copy Source
PPLR = Sheets("Escalation Table Escalations").Cells(Rows.Count, "A").End(xlUp).Row
If PPLR > 2 Then Sheets("Escalation Table Escalations").Range("A3:F" & PPLR).Select
Selection.Copy
'Paste Value on other tab
Sheets("MP Escalation Table").Range("B11").PasteSpecial xlPasteValues
End Sub
thanks for the help