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. Aviator9

    Multiple requests to server while asp script is running

    Good day, If I could trouble someone to explain to me how to solve my basic query: I have an asp/vbscript page running a rather large script. It may take up to 30 secs to load. I'm working on cutting it down. However, during the time it runs, no other request to the server will be executed...
  2. Aviator9

    Problem with dates and variables

    Thanks!
  3. Aviator9

    Problem with dates and variables

    Hello All, This is doing my head in; I can't understand why dates in javascript behave in this way. The second variable (T2) is different whether you write it before you set hours on the third (T3). Can anyone please explain this to me?? OUTPUT: Sat Jan 09 2010 21:09:03 GMT+0000 (GMT Standard...
  4. Aviator9

    Run-time error 4160 when running Word compare in VBA

    The problem got fixed thanks to Pesach Shelnitz: The OriginalDocument and RevisedDocument parameters must be Document objects. The following macro shows how to create and use these objects. Sub CompareDocs() Const Error_FileNotFound = 5174 Dim fileName1 As String Dim fileName2 As String Dim...
  5. Aviator9

    Run-time error 4160 when running Word compare in VBA

    I checked that thread which is what got me uninstalling 2003 and the normal.dot file. The files are Word 2003 and the macro recording picked them up alright. I also just tried saving them as docx and still same error. Btw, thanks for all your help!
  6. Aviator9

    Run-time error 4160 when running Word compare in VBA

    oops, yes the error appears in 2007. I started out in 2003 where it worked. Now in 2007 for some reason it's throwing up that error. I recorded the macros in both version separately. I also removed the normal.dot template file so 2007 is not running the old code. It's running normal.dotm where...
  7. Aviator9

    Run-time error 4160 when running Word compare in VBA

    Thank you for the reply. Those files exist in the specified folder. The macro was recorded and the result was fine. Also, I ran the same in word 2003 and it worked too. I'm still under the assumption that whatever is recorded should run! :)
  8. Aviator9

    Run-time error 4160 when running Word compare in VBA

    Hi All, I'm trying to use Word VBA to run a compare using the script below: --- Sub Macro1() ChangeFileOpenDirectory "C:\" Application.CompareDocuments OriginalDocument:=Documents("example.doc"), _ RevisedDocument:=Documents("example2.doc"), Destination:= _...

Part and Inventory Search

Back
Top