+ Reply to Thread
Results 1 to 6 of 6

How to add bullet point in msgbox in vba code

  1. #1
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    How to add bullet point in msgbox in vba code

    Hi all

    I'm try to add message box but has bullet points set out like

    Have you check ?
    • stores number
    • stock levels
    • part number

    Thanks in advance

    Shane

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: How to add bullet point in msgbox in vba code

    maybe
    Please Login or Register  to view this content.
    Last edited by JieJenn; 08-23-2013 at 05:21 PM. Reason: Removed format statement since it is unncessary

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to add bullet point in msgbox in vba code

    A bullet point is just an ascii character. Char(149)
    a CARRIAGE RETURN = CHAR(13)

    This line will give you the text you need.

    Please Login or Register  to view this content.
    Last edited by mehmetcik; 08-23-2013 at 05:20 PM.

  4. #4
    Forum Contributor sspreyer's Avatar
    Join Date
    07-05-2013
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: How to add bullet point in msgbox in vba code

    thanks to both of you works great legends

  5. #5
    Registered User
    Join Date
    06-05-2014
    Posts
    1

    Re: How to add bullet point in msgbox in vba code

    Hi guys,

    I just want to tag onto this post. I am creating a dashboard and we need to give powerpoint presentations on this data every month. I am using vba to link the dashboard to a powerpoint presentation. I am having trouble figuring out how to take data from cells A1 to A18 and paste them in a textbox in power point and have each cells data show up under eachother with a bullet point. I have managed to find some code that will stack the cells now i just need bullet points.

    Here is what i am looking for:
    • A1
    • A2
    • A3

    Here is the code i have for this slide so far.

    Dim ppres As PowerPoint.Presentation
    Dim ppslide As PowerPoint.Slide

    Set ppslide = ppres.Slides(8)
    ppslide.Select
    Range("A2:A17").Copy
    ppslide.Shapes(3).TextFrame.TextRange.PasteSpecial DataType:=ppPasteRTF

    Thank you,

    Zack

  6. #6
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,527

    Re: How to add bullet point in msgbox in vba code

    @zack43007.
    Please read the forum rules. In this case pay attention to #2.
    2. Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread. You may include up to 3 links to other URLs in a single post, no more, so only link to the relevant pages.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Code to enter bullet points into VBA Outlook Message
    By Dubby20 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-02-2014, 03:51 PM
  2. Bullet point and sub bullet points with numbers
    By trumpetman in forum Word Formatting & General
    Replies: 3
    Last Post: 12-17-2012, 12:23 PM
  3. VBA Code for msgbox
    By j.farr3ll in forum Excel General
    Replies: 4
    Last Post: 09-01-2011, 09:01 AM
  4. Add MsgBox to code
    By Phixtit in forum Excel General
    Replies: 2
    Last Post: 01-10-2010, 07:44 PM
  5. VBA code using if then and msgbox
    By snoopy in forum Excel General
    Replies: 0
    Last Post: 12-01-2005, 04:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1