The macro below pulls a worksheet from a folder and places it within my active workbook. Oddly when this happens FONTS and COLORS change for no reason. Can anyone think of why this is happening?
Sub copy_worksheet_para()
Application.ScreenUpdating = False
Dim wbk1 As Workbook, wbk2 As Workbook
'add your own file path
fileStr = "s:\payroll\time\daily info.xlsm"
Set wbk1 = ActiveWorkbook
Set wbk2 = Workbooks.Add(fileStr)
wbk2.Sheets("daily info").Copy after:=wbk1.Sheets(2)
wbk2.Close SaveChanges:=False
End Sub
Sub copy_worksheet_para()
Application.ScreenUpdating = False
Dim wbk1 As Workbook, wbk2 As Workbook
'add your own file path
fileStr = "s:\payroll\time\daily info.xlsm"
Set wbk1 = ActiveWorkbook
Set wbk2 = Workbooks.Add(fileStr)
wbk2.Sheets("daily info").Copy after:=wbk1.Sheets(2)
wbk2.Close SaveChanges:=False
End Sub