I just noticed a breaking change after updating to Version 2310 today (Version 2310 (Build 16924.20124 Click-to-Run))
If you have a picturelink in Sheet1 with the name pictureOne where the formula property is set to "=A1:A10"
In previous versions, you could do the following in vba
Sheets("Sheet1").Pictures("pictureOne").formula=""
You can no longer do that in version 2310 and get an error message when trying to do that.
You can set the formula property to something else but not to "" or vbNullString.
I can not seem to find any documentation to suggest there are any breaking changes to the Excel Object model in this version.
Does anyone have an idea what is going on here?
As for the question, why I would want to do this. The reason is that when running complex vba code that takes a long time to run, Excel is very slow if you have any active picture links in your workbook. In previous versions, you could simply store all picture formula properties, set them all to "", do your refresh and calculations and then simply put the formula back
If you have a picturelink in Sheet1 with the name pictureOne where the formula property is set to "=A1:A10"
In previous versions, you could do the following in vba
Sheets("Sheet1").Pictures("pictureOne").formula=""
You can no longer do that in version 2310 and get an error message when trying to do that.
You can set the formula property to something else but not to "" or vbNullString.
I can not seem to find any documentation to suggest there are any breaking changes to the Excel Object model in this version.
Does anyone have an idea what is going on here?
As for the question, why I would want to do this. The reason is that when running complex vba code that takes a long time to run, Excel is very slow if you have any active picture links in your workbook. In previous versions, you could simply store all picture formula properties, set them all to "", do your refresh and calculations and then simply put the formula back