Re: Transfer multiple sheets into 1 table

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Thu, 13 Sep 2007 15:38:07 -0700, PatK <PatK@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:

Sorry to jump into the middle of this, but this looks like an answer for a
problem I have. However, my success is less so. I get a runtime error right
off the bat when I get to:

Dim xlApp As Excel.Application

Do I have to, somehow, have some sort of library linked to access to make
that type of declaration?

Yes. Open the VBA editor and select Tools... References from the menu. Scroll
down and find the Excel library and check it.

John W. Vinson [MVP]
.



Relevant Pages

  • Runtime error 216 in Delphi 5E Exe ?
    ... A Database project was compiled in one office executes OK. ... the "mainform" died instantly at the "Runtime error 216". ... The order of forms creation is: Data Module (success), ...
    (borland.public.delphi.non-technical)
  • Re: UPS daemon recommendations
    ... >> I'm interested in what people have had success with. ... >> happy with simple shutdown at bat. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: Runtime Error in Publisher 2003
    ... > I'm running Publisher 2003 on a WinXp and a W2K machine. ... > runtime error when opening certain files. ... > I've checked Microsoft's site without success. ...
    (microsoft.public.publisher)
  • Re: Runtime Error in Publisher 2003
    ... the "Pure virtual function call" is the Organizer. ... > runtime error when opening certain files. ... > I've checked Microsoft's site without success. ...
    (microsoft.public.publisher)
  • Problem with CUSTOMDOCUMENTPROPERTIES
    ... Dim xlApp As Excel.Application ... Dim xlWbk As Excel.Workbook ... Set xlApp = xlWbk.Application ... RUNTIME ERROR NR. ...
    (microsoft.public.excel)