Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2015, 10:36 PM
anand anand is offline add bullets Windows 7 64bit add bullets Office 2010 32bit
Novice
add bullets
 
Join Date: Jun 2015
Posts: 15
anand is on a distinguished road
Default add bullets


I need a VBA code to add bullets to sub parts of statement.
Reply With Quote
  #2  
Old 06-24-2015, 12:55 PM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline add bullets Windows 7 64bit add bullets Office 2013
Moderator
 
Join Date: Aug 2011
Posts: 3,902
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

The most convenient way is to create a style with bullet formatting and have the macro apply the style.

Alternatively, depending on what you are trying to accomplish, setting up a template, possibly with predefined content, might be preferable.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional
Reply With Quote
  #3  
Old 06-29-2015, 12:08 AM
anand anand is offline add bullets Windows 7 64bit add bullets Office 2010 32bit
Novice
add bullets
 
Join Date: Jun 2015
Posts: 15
anand is on a distinguished road
Default

can you give the vba code for this.
Reply With Quote
  #4  
Old 06-29-2015, 12:33 AM
gmayor's Avatar
gmayor gmayor is offline add bullets Windows 7 64bit add bullets Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Code:
Dim orng As Range
Set orng = Selection.Paragraphs(1).Range
orng.Style = "List Bullet"
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
add bullets How to interchange from numbered bullets to bullets ep2002 Word 8 11-05-2013 06:53 AM
Bullets and numbering MIDDEN1 Word 1 09-04-2011 05:12 AM
add bullets Help on bullets alamorchgirl Word 1 05-18-2011 02:43 PM
add bullets Need help with bullets please! Tysmom Word 1 01-25-2010 03:04 PM
add bullets bullets teedoff Word 3 06-17-2009 11:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft