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 Chris Miller 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. JIMinSRQ

    How do I call code in Excel from VBA

    ck1999, Thanks, I'll give that a shot. In the meantime, I created an xls template and am appending a tab into that, running the macro and calling "save as".
  2. JIMinSRQ

    How do I call code in Excel from VBA

    Progress, sort of... I had to open the workbook, record a macro, "testmacro" in this case. Inserted the code from personal.xls, saved and closed the workbook and finally, I actually call the macro. Here's the problem. This is a new workbook every I do the output. The code I want to use to...
  3. JIMinSRQ

    How do I call code in Excel from VBA

    Thanks for the input, there are several issues which result... 1. Using this code opens another, "read only instance" of the workbook. 2. The function "UpdateMatrix" is actually stored in the hidden Personal.xls file. When inserting the path to the Personal.xls in the .run method...
  4. JIMinSRQ

    How do I call code in Excel from VBA

    Stand by, I see why I didn't get and error. Now getting a syntax error.
  5. JIMinSRQ

    How do I call code in Excel from VBA

    Okay, I tried the following, got no errors, but the function didn't execute. This is after the output object is completed and the workbook is open. Dim objXL As Object, x On Error Resume Next Set objXL = GetObject("Excel.Application") With objXL.Application .Visible =...
  6. JIMinSRQ

    How do I call code in Excel from VBA

    I have a project in which I export a query to excel using the OutputTo method DoCmd.OutputTo acOutputQuery, stDocName, acFormatXLS, Filename, True Each time that I do this I create a new spreadsheet/workbook w/ a file name specific to the output. Once in Excel I run a module which formats the...

Part and Inventory Search

Back
Top