I got an excelfile back from a user, and it behaved strange. Among other things, the
" ChDir ThisWorkbook.Path" didn't work. After some looking I found that in the VBA, the "Microsoft Excel Objects" contained "ThisDocument" which is normal, but it also contained "ThisDocument1", "ThisDocument2" and "ThisDocument3" which I have never seen before.
And they weren't possible to remove. This is not an urgent issue since I can copy the changes into a working book, but it would be interesting to know for the future...
Thanks,
Jörgen
" ChDir ThisWorkbook.Path" didn't work. After some looking I found that in the VBA, the "Microsoft Excel Objects" contained "ThisDocument" which is normal, but it also contained "ThisDocument1", "ThisDocument2" and "ThisDocument3" which I have never seen before.
And they weren't possible to remove. This is not an urgent issue since I can copy the changes into a working book, but it would be interesting to know for the future...
Thanks,
Jörgen