VBA & Macro Problems

Restore Visual Basic Editor Panes and Use Straight Quotes in VBA

Steve KSteve K Nov 12, 2026 869 views

Question details

Restore missing standard panes in the Visual Basic Editor and use quotation marks that VBA recognizes in code.

Restore Visual Basic Editor Panes and Use Straight Quotes in VBA
Product
Visual Basic for Applications (VBA) Editor
Device & OS
not provided
Scenario
The Visual Basic Editor layout has changed, and the user needs to bring back the Project Explorer and Properties Window while writing or editing VBA code.
Observed behavior
The usual VBA editor panes are no longer visible, and curly or smart quotation marks may cause code syntax errors.
Before you start

Open the VBA project in the Visual Basic Editor before changing the layout. When pasting code from a website or document, check that quotation marks have not been automatically converted to smart quotes.

Solution 1Recommended

Restore the Project Explorer and Properties Window in the Visual Basic Editor

Use this method when the standard VBA project and object-property panes are missing after the editor layout was changed.

The Project Explorer lists open VBA projects, modules, forms, and worksheets. The Properties Window displays settings for the currently selected object.

1
Open the Visual Basic Editor

In the Office app, open the Developer tab and select Visual Basic, or press Alt+F11.

2
Show Project Explorer

In the Visual Basic Editor menu bar, select View > Project Explorer. You can also press Ctrl+R.

3
Show the Properties Window

Select View > Properties Window. You can also press F4.

4
Dock the panes if needed

Drag the title bar of Project Explorer or Properties Window to the left or right edge of the editor until a docking outline appears, then release it.

Restore the Project Explorer and Properties Window in the Visual Basic Editor
Standard VBA panes restored: Project Explorer and Properties Window can remain open while you edit modules and user forms.
Work with macros in WPS Office

Edit VBA Macros and Correct Quote Characters in WPS Spreadsheets

WPS Spreadsheets provides a familiar desktop workspace for opening macro-enabled workbooks, reviewing VBA code, and correcting invalid smart quotation marks. Use the Developer tools to access macro features and keep compatible workbook formats during migration.

  1. 1. Open the macro-enabled workbook: In WPS Spreadsheets, select Menu > Open and choose the .xlsm workbook you want to review.
  2. 2. Enable the Developer tools: Open the Developer tab in the ribbon to access macro and Visual Basic-related commands.
  3. 3. Open the macro editor: On the Developer tab, select Visual Basic or Macros, then choose the macro or module you need to edit.
  4. 4. Correct quotation marks in code: In the code editor, replace curly quotes copied from formatted text with straight double quotation marks (").
  5. 5. Save in a macro-enabled format: Select Menu > Save As and choose Excel Macro-Enabled Workbook (*.xlsm) to preserve the workbook's macro format.
Access macro and VBA-related tools from the Developer workspace in WPS Spreadsheets.Use straight quotation marks when editing VBA string values and pasted code.Open and save Microsoft Excel macro-enabled workbook formats, including .xlsm files.Work in a lightweight spreadsheet interface with familiar Excel-style commands.
microsoft office alternative - wps office

Frequently Asked Questions

How do I bring back the Project Explorer in the VBA editor?

Open the Visual Basic Editor with Alt+F11, then select View > Project Explorer. You can also use the Ctrl+R shortcut.

Where is the Properties Window in Visual Basic Editor?

In the Visual Basic Editor, select View > Properties Window or press F4. Select a form, control, worksheet object, or module to view its available properties.

Why does VBA reject curly quotation marks?

Curly or smart quotes are typographic characters intended for formatted writing. VBA only recognizes straight double quotation marks (") as string delimiters in code.

How do I put quotation marks inside a VBA text string?

Enter two straight double quotation marks for each quote you want to display. For example, MsgBox "He said ""Hello""." displays quotation marks around Hello.