ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Excel Macro Question (https://www.excelbanter.com/excel-programming/435359-excel-macro-question.html)

brianDY

Excel Macro Question
 
Does anyone know how to make a scrapeing macro? what i need is a macro to run
that will run through multiple screens in a system outside of excell and
scrape data and then plug it into certain excel cells ..I hope that made sense

joel[_82_]

Excel Macro Question
 

Are these web browser windows or regular windows? what application is
running? the data need to be text (not graphics).

I can show you how to activate each window, but not sure I can get the
data of the screen. You would ned to run a win32 dll to get all the
active processes from the Task Manager. You can activate the each
window using the VBA command using "AppActivate title or Process ID".
You don't need to get the process ID if you know the title on each
window. but then you can only copy the window and paste if into excel
or use SendKeys. If yo can use Sendkeys to same the data into a
temporary file (CSV fromat) that would make things simple.


--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=147488



All times are GMT +1. The time now is 08:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com