Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to pull specific data from HTML?

Hi,

I have this email that gets sent to me on a daily basis that contains
attachments in HTML format. The problem is there is too much data that
I don't need within the HTML.

I eventually end up opening the HTML file in Excel and editing out the
rows I don't need. Any suggestions on how to do this automatically?
Either by preprocessing the HTML or creating a macro in excel that can
recognize the name of the file and preprocess before it opens? The File
name and the structure are constant.

So for example in the data below how would I prohibit "ADJ Net Sales"
from coming into excel? Any help will be much appreciated!!!

Thanks Ed

Example of the rows

Gross Sales $5,881.02
Net Sales $5,495.90
Adj Net Sales $5,636.88

Source file HTML

<td class="FieldLabel"Gross Sales</td<td$5,881.02</td
</tr
<tr
<td class="FieldLabel"Net Sales</td<td$5,495.90 </td
</tr
<tr
<td class="FieldLabel"Adj Net Sales</td<td$5,636.88 </td


---
Message posted from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to pull in specific data into multiple worksheets in a workb murkaboris Excel Discussion (Misc queries) 0 April 14th 09 06:25 PM
how to pull data from a specific cell on each tab as I add tabs egljet1 Excel Worksheet Functions 2 November 21st 08 07:03 PM
Link cells to pull specific data NM Excel Worksheet Functions 4 November 14th 08 02:26 PM
Setting formulas to pull data from a specific character spacing... trice_nb Excel Worksheet Functions 2 October 15th 07 05:37 PM
Excel pull data based upon one specific word between two date klmiura Excel Worksheet Functions 7 October 26th 06 09:46 PM


All times are GMT +1. The time now is 07:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"