none
Excel 2000 Excel 2007 RRS feed

  • Frage

  • Hallo,

    ich will Excel öffnen und dann mit folgendem Code eine Arbeitsmappe öffnen:

               Dim exApp As Excel.Application = New Excel.Application()
    
                exApp.Visible = True
                exApp.Workbooks.Open("C:\pdm.xlsx")
    
                Dim exWBook As Excel.Workbook = exApp.Workbooks.Application.ActiveWorkbook
                Dim exWSheet As Excel.Worksheet = exWBook.Worksheets(1)
    

    das Problem ist, ich habe Excel 2000 und Excel 2007 auf meinem PC installiert.

    Nun wird bei mir immer Excel 2000 geöffnet, damit kann ich natürlich keine *.xlsx aufmachen.

    Kann mir jemand erklären wie ich bewußt Excel 2007 öffnen kann?

    Grüße

    Freitag, 21. Juni 2013 12:10

Antworten

  • Falls das Problem noch besteht?:

    Ruf zuerst das Excel 2007 einzel auf und verweise dann beim ausführen auf die Process ID.

    (Frage: Ist Excel 2007 als Standard Programm für .xlsx Dateien definiert?)


    Nö, Ich habe Excel 2007 nochmal neuinstalliert und dann ging es.
    Freitag, 8. Mai 2015 06:37

Alle Antworten

  • Hallo,

    hat vielleicht nach einem Jahr jemand eine Idee wie ich das machen könnte?

    Grüße

    Freitag, 18. Juli 2014 05:28
  • Hi,
    prüfe doch mal, auf welche Version Dein Verweis (für Excel) zeigt.

    --
    Peter

    Freitag, 18. Juli 2014 07:35
  • welchen Verweis meinst Du?

    Wenn ich eine *.xlsx doppelklicke, wird sie mir auch mit Excel 2000 aufgemacht, obwohl ich bei den Dateiverknüpfungen extra Excel 2007 angegeben habe.

    Freitag, 18. Juli 2014 09:55
  • Falls das Problem noch besteht?:

    Ruf zuerst das Excel 2007 einzel auf und verweise dann beim ausführen auf die Process ID.

    (Frage: Ist Excel 2007 als Standard Programm für .xlsx Dateien definiert?)

    Donnerstag, 7. Mai 2015 19:07
  • Falls das Problem noch besteht?:

    Ruf zuerst das Excel 2007 einzel auf und verweise dann beim ausführen auf die Process ID.

    (Frage: Ist Excel 2007 als Standard Programm für .xlsx Dateien definiert?)


    Nö, Ich habe Excel 2007 nochmal neuinstalliert und dann ging es.
    Freitag, 8. Mai 2015 06:37