QR CODE in Word

QR Code in Microsoft Word

Table of Contents

Requirements

Placing QR CODE in Word Using Active Document

Here we show how to configure the Active Document version of the StrokeScribe barcode generator in Word.

1. Switch to the Insert tab on the Word Ribbon and click Object.

2. Look for the StrokeScribe Document:

Inserting a QR CODE in Word as an Active Document

3. Right-click the barcode object, select the StrokeScribe Control->Properties from the context menu.

The QR CODE settings dialog

QR CODE and National Characters

For mobile-readable non-ASCII QR Codes, set Code Page = 65001 in the barcode settings dialog to switch to UTF-8 encoding.

QR CODE Customization

Switch to the Code-specific 2 tab in the barcode properties dialog.

Here you can set the QR Code error protection level (L is the weakest and H is the strongest level).

The QR min. version setting allows to specify the minimum size of the QR Code matrix.

Modifying the QR CODE-specific properties

MICRO QR CODE

To create a MICRO QR code, set the Alphabet property as shown on the picture:

Micro QR Code in Word

Placing QR CODE in Word Using ActiveX

1. Switch to the Developer tab on the Word Ribbon, click Insert->More Controls as shown below.

2. Select StrokeScribe control from the list of available objects and press OK:

Inserting a QR CODE in Word as an ActiveX

3. Activate the Design Mode button on the Developer tab. Right-click the barcode object, select Properties:

The Design Mode button on the Word Ribbon

4. Adjust any barcode properties you need.

The QR Code object's property list

QR CODE Customization with VBA

1. Paste the following code into the VBA editor:

Sub CreateBarcode() StrokeScribe1.Alphabet = QRCODE StrokeScribe1.Text = "1234ABC" ' Any text to encode in the QR Code ' Optional QR Code parameters: StrokeScribe1.Rotation = 90 StrokeScribe1.QrECL = Q ' Error correcion level StrokeScribe1.QrMinVersion = 10 ' Minimum barcode matrix size ' If you want to make a mobile-readable barcode with national (non-ASCII) characters: StrokeScribe1.CodePage = 65001 End Sub

2. Place the caret into the Sub body, press F5 to run the code and switch back to the Word window to enjoy the barcode.

3. If you want to resize/move the QR CODE or modify it's setings using the standard Word Properties window, ensure the Design Mode button on the Developper tab is active.

Related Tutorials

© 2025 StrokeScribe. All rights reserved. Use of any portion of this site constitutes acceptance of our Terms of Use and Privacy Policy.
The website material may not be reproduced, except with the prior written permission.

Facebook X Bluesky Youtube Contact Us