View Single Post
 
Old 09-16-2024, 08:04 AM
John9210 John9210 is offline Windows 7 64bit Office 2007
Advanced Beginner
 
Join Date: Feb 2015
Posts: 38
John9210 is on a distinguished road
Default Macro not working

Code:
Sub MyBullet()
'
' MyBullet Macro
'
'
   ' The variable "char" will contain
   ' the number of characters moved.
   Dim char As Long
   char = Selection.StartOf(Unit:=wdParagraph, Extend:=wdMove)
    Selection.TypeText Text:=vbTab & "•" & vbTab
    Selection.Style = ActiveDocument.Styles("MyBullet")

End Sub

Last edited by macropod; 09-16-2024 at 07:56 PM. Reason: Added code tags
Reply With Quote