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 SkipVought 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. Larryboybird

    Use code to close a program

    This Code Works for me when I want to close the program I am in. Sub CloseProgram Dim I As Integer, j As Integer j = Forms.Count - 1 For I = j To 0 Step -1 Unload Forms(I) Next End Sub
  2. Larryboybird

    ActiveWorkbook.Path ???

    This works for Me! Private Sub PrintOpenExcelFiles() Dim oXL As Excel.Application, I1 As Integer Set oXL = GetObject(, &quot;Excel.Application&quot;) With oXL I1 = .Workbooks.Count While I1 > 0 S1 = .Workbooks(I1).Path If Right(S1, 1) <> &quot;\&quot; Then S1 = S1 +...
  3. Larryboybird

    Using NOT or &lt;&gt; in a query

    Change your code like this and the value you are evaluating will never be null! ([Accident Data].[CD Code] & &quot;&quot;)

Part and Inventory Search

Back
Top