We didn't restore anything but it is about previewing the post.
If there is no other VBA code posted in the page you are sending reply, VBA colors are not displayed correctly during the preview - because the associated CSS rules that were customized are not loaded yet at that moment (some syntax highlighters such as VBA, M, Excel, are not included in the forum package but we implemented them separately) . However, you will see that it is colored properly as soon as you submit the post / refresh the page. For example, I see the following when I do preview.
However, it will be rendered as correctly as below.
I can't call it as a feature, it is just better to keep it that way instead loading unnecessary CSS even when it is not necessary. However, now it bugs me since it was asked for the first time (thank you), so I probably can't get a good sleep without finding a proper way to handle that.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.