+ Reply to Thread
Results 1 to 2 of 2

Excel cannot import files with long column and with comma

  1. #1
    Registered User
    Join Date
    05-06-2010
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    1

    Smile Excel cannot import files with long column and with comma

    I have used the following VB script and have some problem to read the long text file ( in attachment file called A1.csv). The 2nd line of data showed only 3 instead of 42 column. Somehow excel did not import data. Also try to ignore the comma (comma=false) but it does not work (sample file B1.csv)
    Please help to look at the script.

    Thank you
    ============script====================
    Please Login or Register  to view this content.
    =====================================

    ===[Input file: A1]====Note: 2 lines of sample data=========

    PROPERTYID|CLIENTCERTIFICATEDIR|AUTHENTICATIONTYPES|AUTHENTICATIONDELAY|CHAPCHALLENGESIZE|AUTHMECHANISMS|SIGNINGALGORITHMS|CIPHERMETHODS|SIGNINGMETHODS|AUDITDELAY|AUDITTIMEOUTTIME|SERVICETOKENLIFETIME|PARLAYHEARTBEATINTERVAL|ASYNCHRONOUSTIMEOUT|HEARTBEATTIMEOUTDELAY|POLICYENABLED|HONORSERVICEAGREEMENT|DEFAULTREGISTRATIONPOLICY|DEFAULTDISCOVERYPOLICY|DEFAULTHEARTBEATPOLICY|MINIMUMHEARTBEATINTERVAL|ENFORCESELECTSERVICEAGMT|CDBRECOVERYINDICATOR
    Framework|/cust_use/FW/cert|P_AUTHENTICATION,P_OSA_AUTHENTICATION|1000|16|P_OSA_MD5|SP_NULL_STRING|SP_NULL_STRING|SP_NULL_STRING,P_MD5_RSA_1024,P_MD5_RSA_512|16000|0|60000|10000|3000|2000|N|N|IGNORE|IGNORE|IGNORE|5|N|1
    ===[End of Input file: A1 =========

    ===[Input file B1] 4 lines of sample data =========
    SERVICE_NAME|SERVICE_TYPE|ATTR_TYPE|ATTR_LIST
    SMS|2|Subscriber|SDCSACCOUNTSTATUS@SDCSMSISDN@SDCSCUSTOMERTYPE@SDCSBLACKLIST@SDCSBLACKLISTALL
    SMS|2|Enterprise|ID@NAME@TESTLIST
    SMS|2|Additional|X-CHARGEPRICE@X-BILLINGNAME
    SMS|2|Application|ID@STARTDATE@ENDDATE@STATUS@SUBSCRIBERTYPE@TESTLIST@CHARGEPRICE@APPTYPE@SHORTCODE@SUBSCRIBERIDS
    ===[end of Input file B1] =========
    Last edited by samart103; 05-06-2010 at 03:50 PM. Reason: Added Code Tags

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Excel cannot import files with long column and with comma

    Hello samart103
    ,
    Welcome to the Forum!

    Your files did not attach with your post. To make posts easier to read, copy and edit, please use code tags. I have done this for you because you are new. Do take some time to read the forum rules. These help make it easier to find and get answers quickly to your questions.

    As a new member, please take some time to familiarize yourself with the rules.
    Click here for the Forum Rules
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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