![]() |
#1
|
|||
|
|||
![]() 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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Perfect macro not working when its code is inserted in larger macro | RobiNew | Word VBA | 3 | 10-18-2023 03:19 AM |
Macro not working | harry | Outlook | 3 | 12-12-2022 12:22 AM |
Need Help with this Macro-Partially Working | rsrasc | Excel Programming | 10 | 09-10-2020 02:38 PM |
Just one macro not working | Ulodesk | Word VBA | 1 | 04-01-2019 09:16 AM |
![]() |
Ulodesk | Word VBA | 1 | 07-18-2012 04:01 PM |