When I use the following code to create a new workbook with a copied sheet there is a strange date change that occurs:
Worksheets("Week Template").Copy
Set Newwb = ActiveWorkbook
NewwbName = ActiveWorkbook.Name
Windows("Mainworkbook.xlsm").Activate
Sheets("Week Template").Select
Range("B3:B13").Select
Application.CutCopyMode = False
Selection.Copy
Workbooks(NewwbName).Worksheets("Week Template").Activate
Range("B3").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
For example, if I copied the date "1/1/2023" it is changed to "12/31/2018"
however, when I change the format of the cells to text, the numbers are the same, "43465"
Does anyone know how I can resolve this issue?