| |
|
|
 Christof Neuß | Hi, Yo möchte en una bestehende Excel-Expediente zugreifen. Einzelne Zellen debería ausgelesen y ggfs. auch otra vez con Werten belegt voluntad.
Geht doch sicher auch con XProfan, oder?
A Not encima ActiveX?!
Gracias y Saludo |
|
|
| |
|
|
|
 | |
|
| |
|
|
|
 Christof Neuß | Leider no.
El Excel-Tabla ha no Tabellenstruktur y mehrere Register y yo muss cierto raussuchen. Zellen lesen y otra vez beschreiben. |
|
|
| |
|
|
|
 | Tal vez blanco como Marc mehr.  |
|
|
| |
|
|
|
 Christof Neuß | Würde me echt weiterhelfen.
Trotzdem Gracias. |
|
|
| |
|
|
|
 Uwe ''Pascal'' Niemeier | ¡Hola Christof!
Geht doch sicher auch con XProfan, oder? A Not encima ActiveX?!

[web]https://XProfan.com/thread.core?t=4363[/web] SeeYou Pascal |
|
|
| |
|
|
|
 Christof Neuß | ¡Hola Pascal,
super, así gehts sicher. El Beispiele Excel1 y Excel2 trabajo en me einwandfrei. Leider Yo lo todavía no geschafft, una vorhandene Excel-Expediente a abierto. In Excel1.prf Yo el Línea KompilierenMarcaSeparación por KompilierenMarcaSeparación ersetzt. Funktioniert pero no. Irgendwas stimmt con el/el Parametern (Dateiname) no. El Expediente hay aber en diesem Directorio. Posesiones ya alles mögliche ausprobiert. Weißt Usted qué?
Gracias! |
|
|
| |
|
|
|
 Christof Neuß | Hi Pascal,
Yo bins otra vez.
Bin en XProfan no tan bewandert. Kann lo ser, dass hier algo fehlt? KompilierenMarcaSeparación
proc ocxPutParams-------------------------------ocxPutParams----------------------------
declare Pos%,v$,v&,v%
dim Param#,(Count%-1)*16--Parameter-Array
clear Param#
whileloop Count%,3,-1--bestücken in umgekehrter Reihenfolge!
v$=$(&loop)
v&=&(&loop)
v%=~VT_I4
if left$(v$,1)=*------Parameter ist String
v%=~VT_BSTR
v$[&loop]=MultiToWideEx(del$(v$,1,1))
v&=addr(v$[&loop])
elseif left$(v$,1)=#--Parameter ist Objekt
v%=~VT_DISPATCH
v&=val(del$(v$,1,1))
endif
word Param#,Pos%=v%--Typ
Pos%=Pos%+8
long Param#,Pos%=v&--Wert
Pos%=Pos%+8
endwhile
endproc-------------------------------------------------------------------------------pan>-
Oben voluntad Count% y Param# angesprochen, el aber hier no transferencia oder declariert voluntad. Como ya he dicho, Yo verstehs no tan correcto.
Merci! |
|
|
| |
|
|
|
 | Beides en übergeordneter Procedimiento/Función oder gar global? |
|
|
| |
|
|
|
 Christof Neuß | SORRY!
¡Hola Pascal,
lo funktioniert!!!! Tuve sólo una * al Anfag des Dateinamens vergessen. BTW: ¿Por qué muss el como hin?
Merci! |
|
|
| |
|
|
|
 Christof Neuß | Hi IF,
jo, ahora tener ICHs auch endlich kapiert. Deklarierte Variables son tan hier auch para el untergeordneten Procs sichtbar.
Gracias para el Referencia! |
|
|
| |
|
|
|
 Christof Neuß | ¡Hola Pascal,
beim Kompilieren con XPSE bekomme Yo siempre el Fehlermeldung, dass en 2 Zeilen el Stringende fehlt. Yo habe entonces en el OCX2.PH a folgende Zeilen una zweites angehängt. Jetzt gehts! KompilierenMarcaSeparación ¿Puede Usted así qué anfangen? |
|
|
| |
|
|