+ Reply to Thread
Results 1 to 5 of 5

Trimming Bulleted list from .docx file leaves symbols

  1. #1
    Registered User
    Join Date
    01-05-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    30

    Trimming Bulleted list from .docx file leaves symbols

    Hello,

    I've written a macro to identify bulleted lists and then remove said bullet. However, every time the value of the bullet is deleted a line of random symbols are left behind.

    The bulleted list needed to be trimmed:
    bulletList.JPG

    This is the value the bullet is given within excel:
    bulletListExcelValue.JPG

    Notice the bullet is given a value of r.

    In my VBA Macro I search for a value of r and then trim accordingly.

    Here is my code:

    Please Login or Register  to view this content.
    I've stepped through the code and it seems to locate the value correctly, but when it trims it leaves behind a weird set of symbols.

    The weird set of symbols:
    bulletListSymbols.JPG


    Any idea what is happening here?


    Thanks,
    Channing

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Trimming Bulleted list from .docx file leaves symbols

    Why are you trimming twice?

    Try this:
    Please Login or Register  to view this content.
    Please click the * below if this helps

  3. #3
    Registered User
    Join Date
    01-05-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    30

    Re: Trimming Bulleted list from .docx file leaves symbols

    JasperD,

    Thank you for your response. I've tried your code, but im still left with odd symbols after trimming. The thing is, the sentence that is left behind in the formula bar after the trim is actually readble. It's only when I'm viewing it in its cell.

    Thanks,
    Channing

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Trimming Bulleted list from .docx file leaves symbols

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-05-2015
    Location
    United States
    MS-Off Ver
    2013
    Posts
    30

    Re: Trimming Bulleted list from .docx file leaves symbols

    wow that makes perfect sense! Thank you, sir.

+ 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. Replies: 0
    Last Post: 08-23-2013, 07:57 AM
  2. Automatic bulleted list not created even though tab checked
    By drajanm in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 05-23-2013, 02:59 AM
  3. creating a bulleted list in a Word document
    By perducci in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-03-2012, 04:21 PM
  4. Populating bulleted list in word.
    By ChrisMattock in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-05-2007, 04:12 AM
  5. Replies: 5
    Last Post: 02-01-2005, 04:06 AM

Tags for this Thread

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