VBA Converter für Office 2021

Dieser Thread ist Teil einer Diskussion zu einem Artikel:  Zum News-Artikel gehen

Andi_Beo

Stammgast
Hallo zusammen, ich hab seit ich das Office 2021 Installiert habe, beim Excel wenn ich eine Datei öffnen will, kommt als erstes immer die Meldung es fehle der VBA Converter, ich hab jetzt fast den ganzen Tag gegoogelt aber nichts schlaues gefunden, kann mir da jemand wenn möglich den Link dazu geben?
Besten Dank im Voraus
 

Andi_Beo

Stammgast
Hallo Andreas, im prizip ja, nur hab ich jetzt das problem ich finde nirgens alle 3 Speicherorte wo die Dateien hin sollen, ich nehme an das dies für Office 2021 nicht geht? Oder was kannst du mir noch helfen dabei?
Gruss Andi
 

Gaby Salvisberg

Super-Moderator
Sind die Makros, die mit diesem VBA-Konverter "konvertiert" werden müssen oder mussten, überhaupt noch im Einsatz? Wenn ich die Anleitung im Readme.txt richtig verstehe, solle man damit die Module exportieren und importieren, damit sie mit der neusten Version des VBA-Editors kompatibel sind. Braucht man danach diesen Konverter noch, wenn das erledigt ist?

PS: Hier der Inhalt der Readme.txt, damit nicht jeder das File herunterladen muss:

The VBE converters in this package are used to convert previous versions of VBA from and to the Excel 5 and Excel 95 file formats.

The converters are supported for usage with Excel 2007, and the 32-bit versions of Excel 2010 or later releases. 64-bit operating systems are supported only with a 32-bit version of Excel installed (known as a "WoW" configuration).

To install the VBE Converters:
==============================
Please follow the instructions below. Notice that with Excel 2007, the installation is simple - just copying two files into one location. With later Excel versions, there are several more files to copy, and a batch file to run (it registers type libraries).

For all Excel versions
----------------------

1. Extract the converter files from the self-extracting EXE file. (You have likely already done so if you are reading this file.)

For Excel 2007
--------------

On a 32-bit operating system:
2. Copy the following files into the following folder on your system drive:
vbacv10.dll, vbacv10d.dll: \Program Files\Common Files\Microsoft Shared\vba\vba6\

-OR-

On a 64-bit operating system with 32-bit Excel (WoW):
2. Copy the following files into the following folder on your system drive:
vbacv10.dll, vbacv10d.dll: \Program Files (x86)\Common Files\Microsoft Shared\vba\vba6\

For Excel 2010 or later
-----------------------

On a 32-bit operating system:
2. Copy the following files into the following folders on your system drive:
a. vbacv10.dll, vbacv10d.dll: \Program Files\Common Files\Microsoft Shared\vba\vba7\
b. xl5en32.olb, gren50.olb: the folder where Excel.exe resides, which by default is: \Program Files\Microsoft Office\Office14\
c. vbaen32.olb, vbaend32.olb: the Windows system folder: \Windows\System32\

-OR-

On a 64-bit operating system with 32-bit Excel (WoW):
2. Copy the following files into the following folders on your system drive:
a. vbacv10.dll, vbacv10d.dll: \Program Files (x86)\Common Files\Microsoft Shared\vba\vba7\
b. xl5en32.olb, gren50.olb: the folder where Excel.exe resides, which by default is: \Program Files (x86)\Microsoft Office\Office14\
c. vbaen32.olb, vbaend32.olb: the Windows system folder: \Windows\SysWOW64\

and for both 32- and 64-bit operating systems:

3. Run the batch file vbaconv.bat with elevated (administrator) permissions.

(End of installation instructions)
(================================)

Once installed, the converters allow for opening Excel 5 / Excel 95 files with VBA module sheets. In order to migrate this kind of file to a file format that Excel 2007 or later supports, you now need to manually convert the VBA module sheets into regular VBA modules. You do this as follows:

1. Once you have opened the workbook, press Alt+F11 to enter the Visual Basic Editor.
2. For each module you will need to export it out and import it back in. This will create recreate the modules for the latest version of Visual Basic Editor.
For each module in the Visual Basic Editor, perform the following steps:
a. Select the Module from the Project Tree on the left pane (if modules don’t display expand the tree to see the individual modules).
b. From the File menu select "Remove the Module".
c. Select Yes to the prompt “Do you want to export <name of module> before removing it?"
d. Save it with a name and location
e. From the File menu select "Import File", browse to the module and choose "Open".
3. Once you have exported and imported all the module sheets, save your workbook.
Note: If the Project is password protected you will not be able to do the above steps until you get the password to open the modules.
 

nochEinAndreas

Stammgast
Hallo Andi_Beo,

ich kenne Office 2021 nicht. Ich vermute aber mal dass es eine 64bit Software ist und du auch ein 64bit Windows hast. In diesem Fall würde es nicht gehen: In der Readme-Datei steht:
"64-bit operating systems are supported only with a 32-bit version of Excel installed (known as a "WoW" configuration)."
Aber die Frage von Gaby ist berechtigt. Brauchst du diese alten Dateien, bei denen die Fehlermeldung auftaucht noch? Denn alt müssen sie ja wohl sein. Der Konverter ist ja für Excel 5 bzw. 95. Ist ja schon ein paar Tage her ;-).
Hast du denn noch irgendwo einen alten Rechner, auf dem noch ein Office bis 2003 läuft? Wenn ja, könntest du mal Folgendes versuchen:
  • Öffne die Datei mit dem alten Excel.
  • Geh in den VBA Editor und kopiere alle Codes in ein txt-Datei.
  • Lösche sämtliche VBA Codes in der Excel-Datei.
  • Speichere die Datei unter neuem Namen.
  • Kopiere die Datei auf den aktuellen Rechner mit dem Office 2021.
  • Öffne die Datei mit Excel 2021. Da sie keinen Code mehr enthält, sollte das ja ohne Fehler gehen.
  • Jetzt füge im VBA Editor den gesicherten Code aus der txt-Datei wieder ein.
  • Dann speichere die Datei im xlsm-Format.
Wenn das nicht klappt, wüsste ich auch nicht, wie es gehen sollte.

Grüße, Andreas
 

Andi_Beo

Stammgast
Hallo Andreas, weist du, das komische ist das wenn ich eine Leere Excel Datei öffne, genau das gleiche kommt, das finde ich ein bisschen komisch. Ich hab ja bei einem neuem File noch kein VBA.
 

Anhänge

  • Unbenannt1.PNG
    Unbenannt1.PNG
    6,5 KB · Aufrufe: 5
  • Unbenannt2.PNG
    Unbenannt2.PNG
    13,8 KB · Aufrufe: 5

nochEinAndreas

Stammgast
Hi Andi_Beo,
in deinem zweiten Screenshot steht in der Titelzeile was von "Passwort.xla". Was ist das denn? Sieht nach einem alten AddIn aus.
Geh mal in die Optionen zu den Add-Ins, dort zu den Excel-AddIns. Schau nach, ob das dort auftaucht. Wenn ja, schau nach, in welchem Ordner es steht. Dann nimm es mal aus diesem Ordner raus und starte Excel neu.

Oder schau mal hier unter "So deaktivieren Sie ein Excel-Add-In":

Gruß, Andreas
 
Zuletzt bearbeitet:
Oben