When I try to run either of the following macros
Sub Label()
'
' Label Macro
'
'
ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels
Selection.Tables(1).Style = "Table Grid"
ActiveDocument.Save
End Sub
Sub labels()
'
' labels Macro
' creation of labels
'
ActiveDocument.MailMerge.MainDocumentType = wdMailingLabels
Selection.Tables(1).Style = "Table Grid"
End Sub
I get the following error
at the line saying
Selection.Tables(1).Style = "Table Grid"
What am I doing wrong?