I am trying to import data from the web into excel. I am trying to use Visual Basic to remove certain groups of rows from the imported data. The data I am trying to erase is mostly advertisements on the top and bottom of the web page and other irrelevant text. When in excel, the unwanted data is from A1 down to A76 and then A111 to A130 or thereabouts. Any help will be greatly appreciated
Hello this_guy,
Welcome to the Forum!
It would help to see the code you are using and the data layout. Can you post a copy of your workbook for review?
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 Starbelow the post.
3. Please mark your post [SOLVED] if it has been answered satisfactorily.
Old Scottish Proverb...
Luathaid gu deanamh maille! (Rushing causes delays!)
Sub a() Range("A1:A76,A111:A130").EntireRow.Delete End Sub
Last edited by Leith Ross; 02-11-2012 at 03:49 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks