VBA to fill in blanks
- Bah73
- Thread is marked as Resolved.
-
-
-
Can you upload a workbook with some sample data?
-
Sure no problem,
I included the code I have so far but cant figure out where to go from there.
-
Give this a try, it works with the uploaded workbook.
Code
Display MoreOption Explicit Sub FillWorkOrderNos() Dim rngWOs As Range Dim rngWO As Range Set rngWOs = Sheets("Parts List").Columns(1).SpecialCells(XlSpecialCellsValue.xlTextValues) For Each rngWO In rngWOs.Cells If rngWO.Value <> "Work Order" Then rngWO.Copy rngWO.CurrentRegion.Columns(1) End If Next rngWO End Sub
-
Thanks norie that works perfectly.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!