Computing.Net > Forums > Programming > Visaual Basic Macro HELP ..

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Visaual Basic Macro HELP ..

Reply to Message Icon

Original Message
Name: arul20
Date: May 31, 2005 at 19:32:36 Pacific
Subject: Visaual Basic Macro HELP ..
OS: win 2000
CPU/Ram: old and low
Comment:

Hello,

How can I include a table from a website (it is dynamic) in a Word doc using macro?

I use Visual Basic. I know that 'IncludePicture' can be used for dynamically getting pictures from websites, but this is a table and i'm lost ...

Usage: When the macro is run, a report will be created with the latest table.

Thanks



Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: June 1, 2005 at 11:16:23 Pacific
Reply: (edit)

I think you can include internet explorer active x object into a word doc. if not, you can certainly add a hyperlink to it.

I think you can also choose INSERT OBJECT and then CREATE FROM FILE and point it to you URL.

Hope this helps some,
Chi



Report Offensive Follow Up For Removal

Response Number 2
Name: arul20
Date: June 4, 2005 at 21:50:49 Pacific
Reply: (edit)

somebody, suggested that I use Excel's
web query feature to extract the necessary tables.

(Data -> get external Data -> New Web Query)

It seemed like it might just work .. BUT! You need a username and password to enter the page.

How can I make this work?

I have seen examples somewhere when somebody inserted the password along with the web address .. How can this be done?


Also .. IF I do manage to extract the table to Excel, I would still need to transport the table to my Word Document .. I am quite new to macro coding .. so ANY help would be appreciated ..


Thank you.


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software