Hello,

I have a spreadsheet that has a few macros. One of them is called by pressing Ctrl+z. This macro refreshes data on the spreadsheet from a database in a for loop such as:

for i=1 to 20
refresh(account(i))
next i

This usually works fine, but occasionally, pressing the shortcut will run the macro only for some accounts (like the first 12).
However, this problem is usualy fixed by going into the code and launching the macro there.

Does anyone know why this is happening? This has happened with a few different spreadsheets of mine