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!

Search results for query: *

  1. counterform

    Tell VBA which Session to activete

    This thread is fairly old, but I'll post my solution in the event that another user is reading this for a fix. While the following may seem simplistic, I have found it to work well for my needs. Rather than find the exact session name, I simply have VBA cycle through all active sessions and...
  2. counterform

    How do I "Page Down" using Sendkeys?

    As an added note: If your version of Attachmate has a macro recorder enabled, fire it up and create a dummy macro, and plug in all of the keystrokes that are in question. Stop the recorder, go into edit mode for the dummy macro, and view the SendKeys commands used. It has worked wonders for me...
  3. counterform

    How do I "Page Down" using Sendkeys?

    Try this: <RollUp> = PageDown <RollDown> = PageUp Hope this helps...
  4. counterform

    Verify File

    Correction: Dim pathToFile As String Dim fileAvail As Variant 'Open check file pathToFile = "c:\file.txt" On Error Resume Next fileAvail = FileLen(pathToFile) If fileAvail = 0 Then MsgBox "File not Available" 'File Not available, do nothing Else MsgBox "File Available!"...
  5. counterform

    Verify File

    Try the following. I use this method quite often in work projects (can be placed in button action or any other sub): Dim pathToFile As String Dim fileAvail As Variant 'Open check file 'Change to local or network location pathToFile = "c:\file.txt" On Error Resume Next fileAvail =...

Part and Inventory Search

Back
Top