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

Search results for query: *

  1. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Is there anyway of setting these categories as fixed on the output. i.e. LIST ==== then jobs go here if any. Also can is there anyway of outputting nothing if there are no jobs down. as at the moment we get "" or "SLIF" Thanks in advance
  2. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Excellent Thanks for all of your help. Now for the next problem. the output c:\jobs.txt looks like the following: for example. " MD265M00 MD264M00 SJR0-00 " "MD91R501 MD92R501 SLIF-00 R" " SLIF-19 " " SLIF-19 " " SJR0-00 " " SLIF-19 " " SLIF-19 " " SLIF-19 " " RJ220D30 JORP3D4A...
  3. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Still struggling with this. Here goes. This is what I have done so far '**** NEW CODE STARTS HERE **** 'Declarations Dim SearchComplete As Object Dim MySelection Dim MyArea As Object 'Open file for Output (first close file in case already open from an aborted run) Close #1...
  4. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Is all it is saving to the .txt file is " " and also it won't pf8 the page to the next page!!! D'oh!!
  5. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Mr.Milson Thanks for that hear is were I need to include your suggestion, I can't get it to work though. '**** NEW CODE STARTS HERE **** 'Open file for Output (first close file in case already open from an aborted run) Close #1 Open "c:\jobs.txt" For Output As #1 'Check for "Request...
  6. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Hi, Thanks for all your help I have coded this now, my next problem is that if there is a NO job down it displays "NO QUEUE RECORDS MATCH PARAMETERS ENTERED" and if there is a job down it displays "REQUEST COMPLETED AT 21:26:03 ON 06.124" how can I manipulate the code to search for NO QUEUE...
  7. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    Basically, this macro is running commands on CA-7 job scheduling programs and what i need is if there is a failed job, i.e 8 characters in one part of the screen then it records this to a .txt file and if there are no job failures then it carries on with the other commands until it finds a job...
  8. vbnovice1

    Code for capturing part of a screen in attachmate and saving to a file

    I have the following macro/script and need to add after every program (where I have left the spaces with *********************** either side where these commands need to go) an if command that if the macro finds text in the first 8 characters of this field to capture this info and save to a .txt...
  9. vbnovice1

    how do you know if there is nothing in an object

    How do you know if there is something in an object Dim rstObjct As Object Set rstobjct = pvsomething If rstobjct = Nothing Then The if statement does not work. How do I do this? Can anyone help? Thanks

Part and Inventory Search

Back
Top