I have a Microsoft Word 2010 file (saved as
abcd.docm) that does not print. I reinstalled the printer driver and tried to print from other programs (Notepad, WordPad, etc.,) and they all do print.
I'm guessing it's because of the
.docm extension that something broke. I've circumvented the problem by saving the file as a
So, how can I force the file to print?
PS: I must keep the
.docm extension for the Word file as the document contains lots of linked boxes (content control drop-down lists that are interlinked all over the place).
- I've tried opening the file and printing it in Word 2013. Same problem occurs (doesn't print).
- After clicking on
I found the following code by clicking on the
Developer -> Visual basic tab.
Private Sub Document_ContentControlOnEnter(ByVal ContentControl As ContentControl) Dim i As Long, j As Long With ActiveDocument If ContentControl.Title = "Classification" Then ContentControl.DropdownListEntries.Clear For i = 1 To .ContentControls.Count If Left(.ContentControls(i).Title, 5) = "Level" Then j = j + 1 ContentControl.DropdownListEntries.Add Text:=j & " - " & .ContentControls(i).Range.Text End If Next End If End With End Sub