+ Reply to Thread
Results 1 to 5 of 5

Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

  1. #1
    Registered User
    Join Date
    09-27-2014
    Location
    Jacksonville, NC
    MS-Off Ver
    2013
    Posts
    3

    Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

    This has been an ongoing problem that I can not figure out. Every time I open a file in excel (.txt or .csv) with html script, it parses the script as well as the columns. These files are coming from an outside source so I do not have the liberty of asking them to use a different delimiter to prevent the issue. How I can import the following example and keep it from parsing incorrectly?

    Column A
    001-12,February,<br><br>test, why, me</br>who knows</br>

    BECOMES

    Column A|Column B|Column C| Column D| Column E
    001-12 February <br><br>test why me</br>who knows</br>

    Instead of:
    Column A|Column B|Column C
    001-12 February <br><br>test, why, me</br>who knows</br>

    Also posted here:
    http://www.msofficeforums.com/excel/...html#post71160
    http://www.ozgrid.com/forum/showthread.php?t=191143
    Last edited by freshfrost; 09-27-2014 at 08:16 AM.
    Your new favorite costume store - Fresh-Frost.com

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

    Hi, freshfrost,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.excelforum.com/excel-gene...ml-script.html

    http://www.ozgrid.com/forum/showthread.php?t=191143

    Ciao,
    Holger
    Last edited by HaHoBe; 09-27-2014 at 08:13 AM.
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    09-27-2014
    Location
    Jacksonville, NC
    MS-Off Ver
    2013
    Posts
    3

    Re: Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

    Cross link has been added. This was the first post which is why one was not originally included.

    Quote Originally Posted by HaHoBe View Post
    Hi, freshfrost,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.excelforum.com/excel-gene...ml-script.html

    http://www.ozgrid.com/forum/showthread.php?t=191143

    Ciao,
    Holger

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,598

    Re: Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

    Also cross posted at http://chandoo.org/forum/threads/ong...2/#post-116696 and at MrExcel
    Last edited by Pepe Le Mokko; 09-27-2014 at 09:54 AM.

  5. #5
    Registered User
    Join Date
    09-27-2014
    Location
    Jacksonville, NC
    MS-Off Ver
    2013
    Posts
    3

    Re: Ongoing Nightmare - Opening a .txt. or .csv containing HTML script

    No offense but I really wish people focused more on the question than the cross post. Yes, I posted the question in several forums because I am DESPERATELY trying to find an answer to this ongoing problem - hence "Ongoing Nightmare" in the title. I am stuck because of this delimiter issue with the html in several worksheets. Obviously, once the question was answered with a working solution, I would post answered or closed. You will see this response posted in all the other threads complaining about the same issue so I will save you the trouble.

    Now, can someone please help me resolve this issue?

+ 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. script to run the macro from Vb script with out opening the excel file
    By chandanp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-27-2021, 03:33 AM
  2. [SOLVED] Excel VBA - Script Post html source code in cells
    By lafanker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2014, 12:45 AM
  3. Replies: 24
    Last Post: 05-14-2014, 02:41 AM
  4. Script loop - get data from html table
    By Rawland Hustle in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-02-2012, 02:32 PM
  5. How to speed up the script below if i have 10000 ip, loop 5000 times on .html page
    By micnie2020 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2012, 01:54 PM

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