Skip to content

kazuya256/Macro_for_projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ FormatReportToStandard VBA Macro

This VBA macro automates formatting a Microsoft Word document to a standard report layout.

Features

  • Sets page margins and paper size (A4)
  • Applies Times New Roman font, size 12, with 1.5 line spacing and justified alignment
  • Styles Heading 1, Heading 2, and Heading 3 with specific font sizes and bold formatting
  • Centers all tables and inline figures in the document
  • Formats figure and table captions with centered alignment, bold font, and size 12 text

Usage

  1. Open the Word document you want to format.
  2. Open the VBA editor by pressing Alt + F11.
  3. Insert a new module.
  4. Paste the macro code into the module.
  5. Run the macro to apply the formatting automatically.

About

πŸ“„βœ¨ VBA macro to auto-format Word documents into a standardized, professional report layout 🎯

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors