To change the cell background with VBA Editor in Excel follow these steps: Launch Microsoft Excel. Click the Developer tab, then click the Visual Basic button. Once the VBA Editor is open, type the ...
But why? The VBA editor is to edit embedded scripts, not standalone ones. All the editor lets you do is edit htm and txt files.