+ Reply to Thread
Results 1 to 1 of 1

Macro for paste from html or txt file into excel

  1. #1
    Forum Contributor
    Join Date
    07-28-2012
    Location
    madrid
    MS-Off Ver
    Excel 2010 at work excel 2016
    Posts
    1,102

    Macro for paste from html or txt file into excel

    HI I have a internal application with html code. I need extract the data out in excel. It can only be opened in google crome- And so far i have not found any solution to that directly. If some have a suggestion to do this from google crome would be great.
    The next option i have found is to save the html code as a text file and after i use below code to get it in to excel in sheet3
    The code is ok. Actually the info all i need is in one row, and i just need to work after in this row. But i would like to make it a little more automatic.
    Would it be possible to change the code, so instead of save the html as a text file. I just copy it. And a macro take if from the clipboard, safe it automatically in a temparary text file, after run the remaining code. And after delete the temparary textfile- That is what i would like.

    But if some of course have a working solution for extract from google crome would be optimal. I cant show the html code because its confidental info.
    I have attached a test file with the working paste code, which maybe can be changed so it dont have to open a txt file with the html code, but take it from the clipboard.
    Have a look.
    Thanks in advance
    sincerely
    Abjac
    My code.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. VBA to Import HTML Table Locally Stored HTML file to excel
    By ermengard in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-09-2015, 10:48 AM
  2. macro to copy used range and paste in the body tag of a html file/text file
    By amethystfeb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2014, 08:34 PM
  3. Macro to copy the range of values from Excel and paste in html file
    By harishpeddi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2014, 10:50 AM
  4. Publishing interactive excel (macro-enabled) file into a HTML webpage
    By abishekmouli88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2014, 05:21 PM
  5. Macro to open file, copy paste as values and save as excel html
    By gsav in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-18-2011, 10:15 AM
  6. How To Run Macro in HTML excel file
    By johnjohns in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2009, 06:42 AM
  7. Replies: 1
    Last Post: 10-17-2005, 04:05 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