Thank you Jim
I am using Microsoft Excel for Mac version 16.63.1 and Visual Basic version 7.1
I tried what you suggest and it's still doing it. Since the export/import I've had a couple of attempts with various outcomes.
The first time I typed:
For v_count = 0 to 2
... and when I was doing tabs or backspace or whatever to indent the next line, it crashed
Time 2:
For v_count = 0 to 2 [try to save, it said it had problems and couldn't, but I carried on, without indents etc....]
if v_DateArray [and when I went to type ( it hung, needing me to hard reboot again]
In general, the hangs / crashes etc. have happened in multiple different places that I somehow manage to limp past, often by copying similar stuff from elsewhere to minimise keystrokes on that line. They usually happen such that it's 'what exactly did I just do?' I *think* it's particularly likely when I'm doing something which requires parameters or the object model. At one stage I suspected one or all of " ( ) , but wouldn't swear to it. Having said that, that For v_count line was causing problems before!
I've also tried setting off to retype the whole shebang into a new file. That went so far, through module-wide constant declarations, a simple subroutine, into a more complicated one with Dim rows and comment lines, and I *think* went at
v_LastDate = Sheets [crashed on ( or maybe the following " ]
If anything, you know how the parser kind of looks over your shoulder and prompts or corrects... it's maybe when I do something that prompts it to do that, and that 'that' isn't 100% simple.
It was always fine before this.
m