Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
'Macro in standard module: Public Sub CreateLetter() Dim doc As Word.Document Set doc = Application.Documents.Add(strWorkgroup & "Letter.dot") ' "Do stuff" with the resulting document: Call MsgBox(doc.Name) '--> RTE: Object variable or with block variable not Set ' and stepping through the code, I can see that ' the doc variable is indeed Nothing End Sub 'Event in Letter.dot: Private Sub Document_New() Dim f As frmLetter Set f = New frmLetter With f Set .CurrentDocument = ActiveDocument .Show 'After cmdOK_Click, frmLetter processes its CurrentDocument correctly End With Set f = Nothing End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Winword doc from template - use the template for multiple pages||3||51|
|Resetting Word when a document is closed||5||50|
|Delete inline shapes featuring a specific width using VBA||13||68|
|Word considers My HP Printer Offline from my MacBook El Capitan||4||44|