Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

read text from open programs

Status
Not open for further replies.

MJB3K

Programmer
Jul 16, 2004
524
GB
Hi, i have a question. How can i grab the text from open programs.

e.g. grab some text from IE explorer, or Word for example.

I will then write a filter for the text brought in and if it has any inappropiate languages, take a screenshot of the page.

Is this possible??

Any ideas??

Regards,

Martin

Computing Help And Info:
 
Dont think VBA is going to be your answer.



Chance,

Filmmaker, taken gentleman and [insert quote here]
 
Hi MJB
Found this code in one of my modules, you will need to cahnge the web addres & probably some other stuff but it may give you some ideas

With ActiveSheet.QueryTables.Add(Connection:= _
"URL; Destination _
:=Range("A1"))
.Name = "viewthread.cfm?qid=1175935&page=1"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlEntirePage
.WebFormatting = xlWebFormattingNone
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.Refresh BackgroundQuery:=False
End With
Application.CommandBars("External Data").Visible = False
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top