Hello all,
Looking for help to add a userform pop-up status indicator
My current code that runs is below and I would like a user form to pop up and actively tell me the % complete
% complete is found by simple division = count of non empty cells in column Q / count of non empty cells in column A
Sub CopyCells()
Application.ScreenUpdating = False
Dim LastRow As Long
LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Dim x As Long
For x = 2 To LastRow
NextRow = Sheets("Data Entry").Range("A" & Rows.Count).End(xlUp).Row
Sheets("Mass_concept").Range("A" & x & ":P" & x).Copy
Sheets("Data Entry").Select
Sheets("Data Entry").Range("A" & NextRow).Offset(1, 0).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("data").Select
Sheets("data").Range("F3:K3").Copy
Sheets("Mass_concept").Select
Sheets("Mass_concept").Range("Q" & x).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False
Next x
Application.ScreenUpdating = True
End Sub
Looking for help to add a userform pop-up status indicator
My current code that runs is below and I would like a user form to pop up and actively tell me the % complete
% complete is found by simple division = count of non empty cells in column Q / count of non empty cells in column A
Sub CopyCells()
Application.ScreenUpdating = False
Dim LastRow As Long
LastRow = Cells.Find("*", SearchOrder:=xlByRows, SearchDirection:=xlPrevious).Row
Dim x As Long
For x = 2 To LastRow
NextRow = Sheets("Data Entry").Range("A" & Rows.Count).End(xlUp).Row
Sheets("Mass_concept").Range("A" & x & ":P" & x).Copy
Sheets("Data Entry").Select
Sheets("Data Entry").Range("A" & NextRow).Offset(1, 0).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
Sheets("data").Select
Sheets("data").Range("F3:K3").Copy
Sheets("Mass_concept").Select
Sheets("Mass_concept").Range("Q" & x).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False
Next x
Application.ScreenUpdating = True
End Sub