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

Recent content by blckngldhwk

  1. blckngldhwk

    Internet Explorer from Attachmate - wait command

    Sub Main() Dim System As Object, Sess As Object, MyScreen As Object Set System = CreateObject("EXTRA.System") Set Sess = System.ActiveSession Set MyScreen = Sess.Screen varA = MyScreen.getstring(40,11,03) varB =...
  2. blckngldhwk

    Anyway to set rule for XStatus error?

    Is there a way to tell the macro to Exit Sub if at any point there is an XStatus error of value 3 (typing in protected cell)? I can use an 'If statement' several times through the macro but I'd like to just use one statement at the beginning if possible. Thanks!
  3. blckngldhwk

    Compare string against array

    Perfect!
  4. blckngldhwk

    Compare string against array

    I think I got it, but I'll have to see if it works the way I'm wanting it to. Dim Array() as string ReDim Array(Items) as string Will let you know if this works.
  5. blckngldhwk

    Compare string against array

    The information at location (01,02,02) tells me how many lines there are and thus how many times I need to loop and thus how many items I need in my array.
  6. blckngldhwk

    Compare string against array

    The numbers of items in the array is based on the number of lines present on the object being looked at. If there are 9 lines I need 9 items. The number of lines always changes.
  7. blckngldhwk

    Compare string against array

    That worked great! Okay, follow-up... Can you define the number of items in an array with a variable? Example... Items = MyScreen.Getstring(01,02,02) Dim Array(Items) as string The issue, I won't know how many items exist in a set until a pull a value from the screen. Thoughts?
  8. blckngldhwk

    Compare string against array

    Awesome, thank you! Will let you know how it goes.
  9. blckngldhwk

    Compare string against array

    Okay, I've never messed around with arrays so I'm pretty ignorant to what can or can't be done with them. I have a list of over 150 different 'values' and I want to check and see if a certain string is any of those values. So I want to compare a string against these other 150 set values. Is...
  10. blckngldhwk

    Data from Excel to Extra and back

    Sub ExcelExtraExcel() Dim Excel As Object, ExcelWorkbook As Object AppTitle = "EDS-MF1 - EXTRA! X-treme" AppActivate AppTitle Set Excel = GetObject(, "Excel.Application") Set System = CreateObject("Extra.System")...
  11. blckngldhwk

    Data from Excel to Extra and back

    To answer your original question, here is a very simple code for doing what you originally asked. Some of the early declarations may be unnecessary, Skip will let me know if that's the case. This is to be used in VBA, keep in mind. Sub ExcelExtraExcel() Dim Excel As Object, ExcelWorkbook...
  12. blckngldhwk

    Searching Webpage for specific text/phrase

    I have a script set up to do a look up using a webpage search form and now I want to be able to have the macro search the page for the phrase 'No records match the criteria' but am unsure how to approach searching for text. Any ideas? Thanks!
  13. blckngldhwk

    Input Data from Excel into already open webpage form

    Here is what I went with AppTitle = "<Insert Title of IE window>" AppActivate AppTitle Set oApp = CreateObject("Shell.Application") For i = 0 To 25 strName = "" On Error Resume Next strName =...

Part and Inventory Search

Back
Top