Results 1 to 8 of 8
  1. #1
    JDenham is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    15

    Help with Transfer HTML that has .xls file format in Access 2010 using VBA

    I have a downtime system that was created by our IT department that records the downtime of the line stops, it has export to excel button that will export the downtime to excel based off the parameters of date and time. I want to do the export then import to access for downtime analysis. The problem I am having is the programmers export it as HTML with .xls file format. and the worksheet has a date associated with it as well as the spreadsheet has a tab that contains a date and I can't figure away to import to a fixed table. So I tried the transfer spreadsheet not knowing it was in HTML, couldn't recognize the format, then I tried transfer HTML, can't find the file because of .xls file format. I know I could re-save it as a excel file but was trying to keep the steps to a min. Is there a way to import even though it has a date attached to the file and spreadsheet tab. Any suggestions will be very much appreciated.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    What is the file extension of the file you wish to import? Is an html file embedded within a cell?

  3. #3
    JDenham is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    15
    It has a file extension of .xls, but it is html embedded

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    There are ways to parse data within html files, but it requires advanced programming techniques. Is it possible to request a tab delimited export or even csv from the programmers?

  5. #5
    JDenham is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    15
    I have ask for help on this matter, 2 months ago, as of yet no solution. To their credit they are short manpower and my problem is of low priority.

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Well, if you have VBA and Java experience I can show you how to get it done. Otherwise, you would have a steep learning curve. It is doubtful (if I were to manage the entire thing on my own) I would be able to complete the task in under 14 hours (in 2 days). It depends on if everything is stored within a single table element in the html.

    I would recommend getting some professional help. The other option is to get the export as a text file. So CSV, Tab Delimited, or Fixed Width.

    With a text file, we could walk you through it, easily.

  7. #7
    JDenham is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Nov 2014
    Posts
    15
    Ok, that is kinda what I thought, thanks for your help

  8. #8
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    You bet...

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

Similar Threads

  1. Replies: 2
    Last Post: 01-26-2015, 05:43 PM
  2. Replies: 6
    Last Post: 11-10-2014, 03:25 PM
  3. Replies: 2
    Last Post: 10-16-2014, 12:08 PM
  4. Replies: 0
    Last Post: 03-24-2014, 08:55 AM
  5. Replies: 4
    Last Post: 03-12-2013, 06:49 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