.xls nicht mit dem IE öffnen
intranet Problem
Hallo zusammen,
Ich möchte in einem Intranet .xls verknüpfen. Die sollte dann jeder bearbeiten können. da aber alle die an dieses Netz angschlossen sind, angefressene Internet Explorer benutzer sind und dieser .xls und .doc etc... bekanntlich mit einem addin aufmacht und nicht mit Excel oder Word gibt dies Probleme.
Bei .doc hab ich folgende Lösung angewandt:
[code]<script Language=VBScript>
<!--
function load_word(mode, pfad)
'mode 0 = normal open
'mode 1 = open as dot
Set appWord = CreateObject("Word.Application")
' Display the application.
appWord.WindowState = 0
appWord.Height = 600
appWord.Width = 800
appWord.Left = 40
appWord.Top = 20
appWord.Visible = TRUE
' Open the document.
' mode 1 = dot file 0 = docfile
if mode = 1 then appWord.Documents.Add (pfad) end if
if mode = 0 then appWord.Documents.Open (pfad) end if
' Close the object variable.
Set appWord = Nothing
end function
-->
</script>[/code]
und dann mit
[code]onClick="load_word '0', 'http://mein.doc'";[/code]
dies funktioniert eiwandfrei.
Könnte mir jemand helfen etwas ähndliches fü excel zu finden...
Danke im voraus
greets ombre
Ich möchte in einem Intranet .xls verknüpfen. Die sollte dann jeder bearbeiten können. da aber alle die an dieses Netz angschlossen sind, angefressene Internet Explorer benutzer sind und dieser .xls und .doc etc... bekanntlich mit einem addin aufmacht und nicht mit Excel oder Word gibt dies Probleme.
Bei .doc hab ich folgende Lösung angewandt:
[code]<script Language=VBScript>
<!--
function load_word(mode, pfad)
'mode 0 = normal open
'mode 1 = open as dot
Set appWord = CreateObject("Word.Application")
' Display the application.
appWord.WindowState = 0
appWord.Height = 600
appWord.Width = 800
appWord.Left = 40
appWord.Top = 20
appWord.Visible = TRUE
' Open the document.
' mode 1 = dot file 0 = docfile
if mode = 1 then appWord.Documents.Add (pfad) end if
if mode = 0 then appWord.Documents.Open (pfad) end if
' Close the object variable.
Set appWord = Nothing
end function
-->
</script>[/code]
und dann mit
[code]onClick="load_word '0', 'http://mein.doc'";[/code]
dies funktioniert eiwandfrei.
Könnte mir jemand helfen etwas ähndliches fü excel zu finden...
Danke im voraus
greets ombre
Please also mark the comments that contributed to the solution of the article
Content-Key: 40123
Url: https://administrator.de/contentid/40123
Printed on: April 24, 2024 at 09:04 o'clock
2 Comments
Latest comment