RafFiniert
New Member
- Joined
- Mar 18, 2025
- Messages
- 7
- Office Version
- 2013
- Platform
- Windows
With Worksheets("MapLookup_RO")
For c1 = 1 To c1end
Range("F4:F4").Copy Range("F" & Rows.Count).End(xlUp).Offset(1, 0)
Next c1
Application.Wait (Now + TimeValue("0:00:02"))
ActiveWorkbook.Save
End With
If I manually click on the MapLookup_RO worksheet, I can watch the code work as expected. However, if I manually click on any other worksheet and then run the code, it does not execute the copy command.
For modularity's sake, the code above is in a subroutine called from another subroutine. (The code is not "behind" the worksheet.)
For c1 = 1 To c1end
Range("F4:F4").Copy Range("F" & Rows.Count).End(xlUp).Offset(1, 0)
Next c1
Application.Wait (Now + TimeValue("0:00:02"))
ActiveWorkbook.Save
End With
If I manually click on the MapLookup_RO worksheet, I can watch the code work as expected. However, if I manually click on any other worksheet and then run the code, it does not execute the copy command.
For modularity's sake, the code above is in a subroutine called from another subroutine. (The code is not "behind" the worksheet.)