Can Microsoft Word Macros Record Object Outlines and Drop Shadows?
Question details
The user wants to know whether Microsoft Word's Macro Recorder can capture outline and drop-shadow formatting applied to graphical objects.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Recording a macro to automate graphical-object formatting through Word's interface.
- Observed behavior
- The Macro Recorder may not capture every object-formatting action, including applying outlines and drop shadows.
Identify the object type you are formatting, such as a shape or picture, because available formatting commands differ. Test the recording in a separate document and save it as a Word Macro-Enabled Document (.docm) if you want to retain the macro.
Check whether Word records the outline and shadow commands
Use a short test recording to determine whether the required formatting actions are captured in your version of Word.
Word's Macro Recorder does not capture every action available in the interface. An outline or shadow command can work manually without producing usable recorded VBA; this does not necessarily indicate a problem with the document.
In desktop Word, open a test document containing the relevant object. Go to View > Macros > Record Macro, enter a name, choose the test document under Store macro in, and click OK.
Try selecting the object and using its contextual formatting tab. For a shape, use Shape Format > Shape Outline and Shape Effects > Shadow. For a picture, use Picture Format > Picture Border and Picture Effects > Shadow.
Go to View > Macros > Stop Recording. Then open View > Macros > View Macros, select the recorded macro, and click Edit to inspect whether VBA statements for the outline and shadow were generated.
In the test document, remove the formatting or prepare a comparable unformatted object. Select the intended object, then choose View > Macros > View Macros, select your macro, and click Run. Check whether both formatting effects are reproduced.
Request support for missing formatting commands in Word for Windows
Submit feedback when the Macro Recorder does not capture the outline or drop-shadow actions you need.
Use WPS Writer for everyday Word document editing
WPS Office is a free, lightweight alternative for everyday document editing. WPS Writer offers a familiar interface and Microsoft Word format compatibility for an easy transition, but it does not fix Word's Macro Recorder limitations or guarantee identical VBA behavior.

Frequently Asked Questions
Why does my macro omit an outline or shadow that I applied manually?
Word's Macro Recorder may not support recording that particular object-formatting command. Open View > Macros > View Macros, select the macro, and click Edit to check whether the relevant VBA statements were generated.
Does missing recorded code mean Word cannot automate the formatting?
Not necessarily. The recorder and the VBA object model have different capabilities. Custom VBA may be able to set line and shadow properties, depending on whether the target is a shape, picture, or inline object.
Where can I ask Microsoft to add recording support?
In Word for Windows, try File > Feedback and submit a suggestion describing the missing commands. Include the object type, reproduction steps, and Word version so the product team can evaluate the request.
Will switching to WPS Office fix this Word Macro Recorder limitation?
No. WPS Writer is an alternative for document editing, not a repair for Microsoft Word's recorder. Before moving a macro-dependent workflow, verify the VBA support available in your WPS edition and test the required automation.




