Inventory to Purchase order
Closed
Tammy
-
23 Feb 2012 à 13:56
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 28 Feb 2012 à 09:05
TrowaD Posts 2921 Registration date Sunday 12 September 2010 Status Contributor Last seen 27 December 2022 - 28 Feb 2012 à 09:05
Related:
- Inventory to Purchase order
- Ocs inventory - Download - Business management
- Steam purchase history - Guide
- How to download fifa 23 on pc without purchase - Download - Sports
- Basic inventory control herunterladen - Download - Business management
- Gameloft purchase code ✓ - Nokia Forum
1 response
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
28 Feb 2012 à 09:05
28 Feb 2012 à 09:05
Hi Tammy,
Try this code:
Best regards,
Trowa
Try this code:
Sub Test()
Dim lRow, lRow2 As Integer
lRow = Sheets("Inventory").Range("A" & Rows.Count).End(xlUp).Row
For Each cell In Sheets("Inventory").Range("C2:C" & lRow)
If cell.Value > 0 Then
cell.EntireRow.Copy
lRow2 = Sheets("Purchase order").Range("A" & Rows.Count).End(xlUp).Offset(1, 0).Row
Sheets("Purchase order").Range("A" & lRow2).PasteSpecial
End If
Next cell
Application.CutCopyMode = False
End Sub
Best regards,
Trowa