Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3699440
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T05:06:11+00:00 2026-05-19T05:06:11+00:00

i have an excel macro that i am converting to c#. currently i am

  • 0

i have an excel macro that i am converting to c#. currently i am manually going to an already opened IE window, copying everything from it (html table) and pasting into excel worksheet. then i am manipulating the data. this works very well because pasting an html table into excel works fine!

i am trying to do the same thing in c# WITHOUT excel. i need to:

  1. get data from IE window
  2. read it into a datatable (in a similar way that if i were copying and pasting html table into excel sheet)

do you know if this is easily possible to do?

the TITLE of the IE window will be the same all the time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T05:06:12+00:00Added an answer on May 19, 2026 at 5:06 am

    You could skip the IE window and just use one of the web classes (WebClient, HTTPWebRequest/HTTPWebResponse) to load up a object version of the page. That would give you access to all the HTML on a page. Then you could parse the HTML and pull out whatever information you needed. Once you have the information it’s pretty easy to do whatever you want with it.

    Try doing a search on HTML parsing or HTML Parser and you should get some nice information on that topic.

    EDIT

    As another option, if you really don’t want to do parsing. You could always setup a form with a WebBrowser Control and then use it to load the page. The WebBrowser control has a Document property that gives you access to a lot of the information on a page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Excel macro that is copying all of the information from a
I have written an Excel VBA macro which imports data from a HTML file
I have a working excel vba macro that does what I want from here
I have an Excel 2003 workbook that contains a macro to copy certain of
I have an Excel file that has a bunch of VBA and macro code
I have created a macro for excel which will pop up form that contains
I have written a VBA macro in an excel spreadsheet that opens all workbooks
I have an Excel 2010 macro application that is made up of several workbook
I have an Excel file with a Macro that connects to an Oracle Database,
I have a macro that add hundreds of lines of data to an excel

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.