Rfcolon428
New Member
- Joined
- Feb 1, 2019
- Messages
- 8
Dim wb As Workbook
Dim sht As Worksheet
Dim LastRow As Long
Dim destwb As Workbook
Dim destsht As Worksheet
Dim destLR As Long
Dim rng As Range
Set wb = ThisWorkbook
Set sht = wb.Sheets("Open PO Raw Data")
Set destwb = Workbooks.Open("C:\Users\name\Desktop\ALL PO RAW DATA 1-18 to present.xlsx")
destLR = Cells(Rows.Count, "A").End(xlUp).Row
MsgBox destLR
ThisWorkbook.ActiveSheet.Activate
LastRow = Cells(Rows.Count, "A").End(xlUp).Row
MsgBox LastRow
Columns("A2:U" & LastRow).SpecialCells(xlCellTypeVisible).Copy
Dim sht As Worksheet
Dim LastRow As Long
Dim destwb As Workbook
Dim destsht As Worksheet
Dim destLR As Long
Dim rng As Range
Set wb = ThisWorkbook
Set sht = wb.Sheets("Open PO Raw Data")
Set destwb = Workbooks.Open("C:\Users\name\Desktop\ALL PO RAW DATA 1-18 to present.xlsx")
destLR = Cells(Rows.Count, "A").End(xlUp).Row
MsgBox destLR
ThisWorkbook.ActiveSheet.Activate
LastRow = Cells(Rows.Count, "A").End(xlUp).Row
MsgBox LastRow
Columns("A2:U" & LastRow).SpecialCells(xlCellTypeVisible).Copy