+ Reply to Thread
Results 1 to 6 of 6

Add bullet to current text

  1. #1
    Forum Contributor
    Join Date
    02-24-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 2010
    Posts
    164

    Add bullet to current text

    Hi all, I could use some help with VBA. I'm sure this is probably really simple, but I don't know VBA at all. The below code works, but I need to change it so that it will only add a bullet point if in column D and the cell is NOT empty.

    Please Login or Register  to view this content.
    Any help would be greatly appreciated.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Add bullet to current text

    try this

    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    02-24-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 2010
    Posts
    164

    Re: Add bullet to current text

    Hi humdingaling, that does exactly what I asked but not what I actually need. (Completely my fault, I didn't think of everything).

    I need it so it will add a bullet only to active cell or cells if in column C. If I happen to be in a cell in column B, then nothing should happen. (changed code to column C; and I thought by adding the "With Selection" to the code, the code would work.)


    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-24-2011
    Location
    Los Angeles, CA
    MS-Off Ver
    Office 2010
    Posts
    164

    Re: Add bullet to current text

    Can anyone help me out?

    Basically, I need to create a dynamic range of cells. For example, if I have a table in the first 200 rows with various text in each of the cells; and then I use my mouse to select C6:C10, the code will add a bullet point in front of the current text. However, say a minute later, I select just cell C15, I need the code to a bullet point to just that cell.

    Any ideas where anyone can help me out?

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Add bullet to current text

    shrugs
    you jumping around all over the place to what you actually wanting


    when you run the code...if Activecell is in Column C then run add bullet code if cells are not blank
    but then your next post is about a specific range in column C or something of that matter

    May i suggest you just have an input box and ask you to select exactly what cells you want to add bullet point to?
    Last edited by humdingaling; 10-02-2018 at 12:54 AM. Reason: ps public holiday in australia...last weekend hence the delay in response

  6. #6
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Add bullet to current text

    Please Login or Register  to view this content.
    added extra query just in case you selected the wrong cells....because you cannot just "undo" easily

+ 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. Bullet points
    By drew.parker in forum Excel General
    Replies: 1
    Last Post: 03-08-2018, 04:26 PM
  2. [ask] Bullet & Numbering
    By abread in forum Word Formatting & General
    Replies: 1
    Last Post: 06-06-2015, 08:24 AM
  3. [SOLVED] Set PivotTable Filter to Current Day, Current Week, Current Month, or Current Year
    By EnigmaMatter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2014, 08:31 AM
  4. Copy text in excel cells and paste as bullet into new word doc
    By olivierpbeland in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-03-2013, 05:09 PM
  5. 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
  6. Bullet Chart
    By EJensen in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-01-2009, 09:30 PM
  7. how to add bullet list of text items in cell
    By kurb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-30-2005, 03:06 AM

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