1. In your workbook, create a sheet called WebMD, and add your column headings.
2. Insert a code module and paste the code below into it.
3. On the Developer tab, click Macros, select PasteWebMD, and click Options.
4. For the Shortcut key, enter p (for Paste), and click Ok and Cancel.
5. Save the workbook as a .xlsm (macro-enabled)
The above is one-time only and sets up the functionality. Then ...
1. On the web page, go to the 1st page.
2. Press Ctrl-A (Select All) and Ctrl-C (Copy).
3. Flip over to the WebMD workbook and press Ctrl-P.
4. Go back to the browser, select the next page, and repeat steps 2 & 3.
5. Continue until you have all the pages.
To avoid needing the mouse, use Alt-Tab to flip back & forth.
You may need to make adjustments if you come across odd names or other issues, but this worked for the 1st 5 pages or so.
Maybe there's a better way to grab a full table out of a web site, but this is the only way I know how to do it.
Bookmarks