Re: Eine Vorlage aus Access heraus öffnen

Tech-Archive recommends: Fix windows errors by optimizing your registry



Danke, hat funktioniert!

Gruß
Michael

"Dr. Stephan Kassanke" <kassanke.news@xxxxxx> schrieb im Newsbeitrag
news:#bSwCawhFHA.2852@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Michael Alexander" <MirKeinSpam@xxxxxxxxxxxxxx> schrieb im Newsbeitrag
> news:ur6DboihFHA.3436@xxxxxxxxxxxxxxxxxxxxxxx
> >
> > Hallo NG!
> >
> > Ich möchte aus Access eine neue Tabelle, basierend auf u.a. Vorlage
öffnen
> > und diese dann in der selben fnc mit Daten befüllen.
> >
> > With xlObj
> > .Visible = True
> > .Workbooks.Open FileName:=conExcelPfad 'conExcelPfad =
> > "W:\AD1\Betriebskosten.xlt"
> >
> > Die Daten werden aus Access richtig in die neue Tabelle geschrieben,
> > leider
> > schaffe ich es aber nicht, die Tabelle unter Benutzung der Vorlage zu
> > erstellen.
> >
> > Bitte um Eure Hilfe.
> >
> > Danke
> > Gruß
> > Michael
> >
> > A2k+E2k, DAO
> >
> >
> >
>
> Hallo Michael,
>
> Du willst das Template ja nicht öffnen, sondern eine neue Datei basierend
> auf dem Template erstellen. Versuche mal .Workbooks.Add Template
> :=conExcelPfad
>
> Auszug aus der Online Hilfe:
>
> Erstellt eine neue Arbeitsmappe, die zur aktiven Arbeitsmappe wird. Gibt
ein
> Workbook-Objekt zurück.
>
> Ausdruck.Add(Template)
>
> Ausdruck Erforderlich. Ein Ausdruck, der ein Workbooks-Objekt
> zurückgibt.
>
> Template Optionaler Variant-Wert. Legt fest, wie die neue
Arbeitsmappe
> erstellt wird. Falls dieses Argument eine Zeichenfolge ist, die den Namen
> einer bestehenden Microsoft Excel-Datei angibt, wird diese Datei als
> Formatvorlage für die neue Arbeitsmappe verwendet.
>
>
>
> viele Grüße,
>
> Stephan
>
>


.



Relevant Pages

  • Re: Eine Vorlage aus Access heraus öffnen
    ... > schaffe ich es aber nicht, die Tabelle unter Benutzung der Vorlage zu ... Hallo Michael, ... auf dem Template erstellen. ... Erstellt eine neue Arbeitsmappe, ...
    (microsoft.public.de.excel)
  • Re: serious word template issue in Word 2003
    ... confirm that patch KB887979 is the culprit. ... >> template's dialog box, I'm going to use that to enable a template ... >>> to see if they can provide a better way to fix this problem. ...
    (microsoft.public.office.developer.vba)
  • Re: Importing Version Specific Modules
    ... Michael> from string import Template ... Michael> from our.compat.string import Template ... what if some bright admin at some customer decides to backport the ...
    (comp.lang.python)
  • Re: Importing Version Specific Modules
    ... Michael> from string import Template ... Michael> from our.compat.string import Template ... versions of Python. ...
    (comp.lang.python)
  • Re: Converting worksheet to template
    ... Then just save the file as a template. ... "Michael Kelley" wrote in message ... > Is there a way to remove the values of the cells, ... and making the worksheet a template ...
    (microsoft.public.excel.worksheet.functions)