Results 1 to 6 of 6
  1. #1
    dhoang25 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3

    Importing bullets formatting from Excel

    Dummy1.zipHello,

    I want to important the data from an excel file and keep all of its formatings "as is" (bullets and hard enters) in an Access table. For example, in the attached dummy file, I want to keep column C formatting as is in Access table. However, when I import this file into access by selecting Memo and Plain Text, it showed up as one big clump together like this: (Adopt Integration Server/Continuous Integration for ETL:• Option A• Option B• Option C• Option D• Option E). And when I run the report it shows up with the same format, when it should look like this below. Please HELP!!!

    Adopt Integration Server/Continuous Integration for ETL:
    • Option A
    • Option B
    • Option C
    • Option D
    • Option E

    Thanks,


    DH

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    So you say the bullet symbols do come with the import? Interesting, I would not have thought so. What you are missing are CrLf's before each option. If the bullet is a searchable character, could use Replace function.

    Let x represent the bullet character.
    Let y represent the fieldname.

    Replace([y], x, Chr(13) & Chr(10) & x)

    If there is an ASCII code for the bullet:

    Replace([y], Chr(x), Chr(13) & Chr(10) & Chr(x))

    149 might be the ASCII for bullet http://ascii-code.com/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    dhoang25 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    Bullets were not searchable! ...

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Sorry, that's all I have for simple idea.

    Anything else would involve complex VBA custom function.

    I would have thought the CrLf's and not the bullets would have imported. Weird.

    How did you set the bullets in Excel? Did you insert special characters?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    dhoang25 is offline Novice
    Windows Vista Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    3
    Thanks June7! I figured out a workaround method for it but it would involve manually changing the field from "Plain Text" to "Rich Text" each time after I imported into Access. Well, I guess this is how I will have to go about it. Thanks again anyway!

    -DH

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    I tested import of data from excel with bullets and alt+return characters. I inserted special character decimal 149

    The import looks like:

    •alkdjfldkjf?glkjkjg?•slfdkgj

    The ? represents the alt+return symbol that shows in the imported string (box with question mark in it). A Lf does import with the data.

    I use the suggested Replace function and the result is:

    •alkdjfldkjf?
    •glkjkjg?
    •slfdkgj

    So I tried this:

    Replace([fieldname], Chr(10), Chr(13) & Chr(10))

    The result is:
    •alkdjfldkjf
    •glkjkjg
    •slfdkgj
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Formatting an Access table after importing from Excel
    By bigern87 in forum Import/Export Data
    Replies: 3
    Last Post: 02-13-2013, 07:08 AM
  2. Replies: 10
    Last Post: 12-28-2012, 02:06 PM
  3. Excel export formatting
    By tariq nawaz in forum Import/Export Data
    Replies: 0
    Last Post: 09-24-2012, 05:30 AM
  4. VBA Excel Formatting: Need new eyes!!
    By Lorlai in forum Programming
    Replies: 3
    Last Post: 06-09-2011, 10:22 AM
  5. Importing from Excel
    By joer in forum Forms
    Replies: 0
    Last Post: 03-14-2007, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums