Hi
I have an annoying issue that occurs after running a reasonably long script involving a number of spreadsheets. The script all runs fine and leaves 4 output spreadsheets open for final manual formatting. However the mouse focus is changed by the script (somehow?) and no matter what I do the mouse wants to multi select cells. Clicking in a single cell always selects at least 3 or 4 cells and sometimes the whole column.
The only place in the code where I set any rules realted to selection is to set a file dialog to allow multi selection of files. That is
I have tried resetting this flag after to be false but it has no effect on the mouse behaviour.
As the script accesses up to 12 spreadsheets and copies, pastes and appends between sheets I do use global variables for the workbooks, passing them into private functions. I clear all the global variables to free the memory at the end of the script. This doesn't have any effect on the mouse behaviour.
Though this is not necessarily a show stopper it is inconvenient for users to be left with a mouse that always multi selects cells, especially as the script leaves the sheets in a stage for final cell adjustments to be made.
Any one got any ideas as to why this might be happening and how it might be fixed?
Cheers
Clive
Bookmarks