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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB Code, how to read a line?? 2

Status
Not open for further replies.

tijerina

Vendor
Mar 4, 2003
132
US
I am trying to figure out this VBA code.

Private Function GetScreenTitle()
' Reads the current screen Title
GetScreenTitle = Trim(GetText(0, 10, 0, 71))
End Function

I am trying to figure out the numbers GetScreenTitle line. I am guessing it is the location on the screen, how do you know which number correspond to what.
 
What is the function GetScreenTitle, i cant find ANY reference to it anywhere or the gGetText? If its a local function (eg. part of a module or form) you can find it, then see what it is the numbers are used for. That seems the only explanation i can think of.

-Niphyr

------------------------------
------------------------------
 
Hi Tijerina:

I have tried to locate a suitable reference in VBA to your use of GetText, but none list four parameters for GetText. What program are using (Word, Excel, Access, PowerPoint)?

Also, this is the Visual Basic 5 & 6 forum, not the VBA forum. Have you posted your question in the appropriate forum?

Cassie
 
Thank you Cassie and Niphyr for trying, this is VBA and I submitted this in the wrong forum. I do thank the both of you for your efforts, really nice of you both.

Tijerina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top