I have an excel macro that is running correctly on over 10 pc's. On 1 pc it does not run correctly. It does not error out, just seems to not run to completion. All machines are running windows 10. I have included the code below. Fairly simple. Copies from "Follow_Up" sheet in the source file to "Sheet1" in the destination file. It seems to stop just after it activates "Sheet1"
Sub copydata1()
Dim wbSrc As Workbook, wbDest As Workbook
Dim rngSrc As Range
Dim j As Integer
Dim i As Integer
Set wbSrc = ActiveWorkbook
Sheets("Follow_Up").Activate
Workbooks.Open "G:\Estimating Templates\Bid List_Lee.xlsm"
Set wbDest = ActiveWorkbook
Sheets("Sheet1").Activate
-----seems to stop here---------
Dim unusedRow As Long
unusedRow = Cells.SpecialCells(xlCellTypeLastCell).Offset(1, 0).Row
j = ActiveCell.Row
j = unusedRow
MsgBox j
wbSrc.Activate
Sheets("Follow_Up").Select
Range("L151").Select
ActiveCell.FormulaR1C1 = "=CELL(""filename"")"
Range("M151").Select
Range("A151:Q151").Select
Selection.Copy
wbDest.Activate
Sheet1.Cells(j, 2).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Sheet1.Cells(j, 1) = Sheet1.Cells(j, 14)
Sheet1.Cells(j, 17).Select
ActiveCell.FormulaR1C1 = "=HYPERLINK(RC[-1])"
ActiveWindow.ScrollColumn = 3
ActiveWindow.ScrollColumn = 1
Range("A20").Select
wbSrc.Activate
Sheets("Follow_Up").Select
Range("L151").Select
ActiveCell.FormulaR1C1 = "=CELL(""filename"")"
Range("M151").Select
wbSrc.Activate
Sheets("Summary").Select
End Sub