Word Makro Problem

  • Hallo,

    um das Design meiner Webseite zu verbessern bzw erträglich zu machen,
    habe ich in Word einige Makros aufgezeichnet und modifiziert.

    Leider hat diese Art von Makro nur einmal funktioniert



    Public Sub Makro10000()
    Dim confdat(30) As String, i As Integer


    confdat(1) = "conf10000.txt"
    confdat(2) = "conf20000.txt"
    confdat(3) = "conf22000.txt"


    For i = 1 To 3

    ChangeFileOpenDirectory _
    "C:\Dokumente und Einstellungen\Straßer\Eigene Dateien\web03112010\conf\"
    Documents.Open FileName:=confdat(i), ConfirmConversions:=False, _
    ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
    PasswordTemplate:="", Revert:=True, WritePasswordDocument:="", _
    WritePasswordTemplate:="", Format:=wdOpenFormatAuto


    Next i

    End Sub


    Ziel ist es die Dateien automatisch zu öffnen , bearbeiten und zu speichern

    Muster
    http://resool.com/helpconf/conf22610.html

    Brauche nur Hilfe beim Öffnene.

    Vielen Dank für die Hilfe

    Gruß Resool

    Resool has no clue


    but is trying hard to improve
    and to help as good as possible

  • hallo,


    einfacher ausgedrückt,
    wie sieht die Syntax in VBA Word aus
    um eine Datei über eine Variable (z.B. Dattext(4))
    zu öffnen.


    Gruß Resool

    Resool has no clue


    but is trying hard to improve
    and to help as good as possible

  • 1. Wie lautet denn die Fehlermeldung?


    2. Warum benutzt Du eigentlich kein WCMS? Das wäre doch eigentlich für Deine Zwecke passender? Es gibt da doch so viel: Joomla, Typo3, Drupal, oder auch Wordpress...

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!