BristolJGM
New Member
- Joined
- Oct 25, 2015
- Messages
- 33
Has anyone else experienced this/ do people know what the cause is?
I have a large/ complex spreadsheet with lots of VLOOKUPs. I use a macro to produce the spreadsheet from a template (broadly, the macro takes some input data and 'works up' a template based on it).
The first time I run the macro, Excel uses 100% of CPU to calculate the workbook.
I then use the macro to 'calculate' a second workbook. Excel CPU usage then drops and it drops again if I do it with a third workbook.
What is particularly curious is that a near-identical macro run on a very similar template does not produce the same result. Even stranger, the Excel slowdown continues even if I close Excel and open a new instance of it. Excel only speeds up again if I reboot the system.
It seems peculiar that the slowdown can last even after I've closed and reopened Excel. I thought it might be some temporary file or similar - I tried using Disk Cleanup but it didn't help at all.
I can post the macro - I know people will disapprove of it as it includes use of the Select function a lot (and other things). However, a near-identical macro with a similar level of 'Select' use doesn't produce the same result on a near-identical workbook.
Can anyone help?
I have a large/ complex spreadsheet with lots of VLOOKUPs. I use a macro to produce the spreadsheet from a template (broadly, the macro takes some input data and 'works up' a template based on it).
The first time I run the macro, Excel uses 100% of CPU to calculate the workbook.
I then use the macro to 'calculate' a second workbook. Excel CPU usage then drops and it drops again if I do it with a third workbook.
What is particularly curious is that a near-identical macro run on a very similar template does not produce the same result. Even stranger, the Excel slowdown continues even if I close Excel and open a new instance of it. Excel only speeds up again if I reboot the system.
It seems peculiar that the slowdown can last even after I've closed and reopened Excel. I thought it might be some temporary file or similar - I tried using Disk Cleanup but it didn't help at all.
I can post the macro - I know people will disapprove of it as it includes use of the Select function a lot (and other things). However, a near-identical macro with a similar level of 'Select' use doesn't produce the same result on a near-identical workbook.
Can anyone help?