Hi, i have this formula in the VBA editor
.Range("U1").Formula = DateSerial(Mid(ThisWorkbook.Name, 13, 4), Mid(ThisWorkbook.Name, 11, 2), Mid(ThisWorkbook.Name, 9, 2))
The code opens another file which im trying to read the date off, one of the problems, is that because the above formula is in the editor of my core spreadsheet, thats spreadsheet name its trying to read. So i need it to be amended so it can read the active workbooks name
Thanks
Seamus
Set wk = ActiveWorkbook