[phpBB Debug] PHP Notice: in file /viewtopic.php on line 943: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 943: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead
Foro de profesores • Ver Tema - openoffice Guardar documento.

openoffice Guardar documento.

Análisis y programación, diseño y multimedia, iniciación y ofimática y muchos temas más.

openoffice Guardar documento.

Notapor elmesiasahora » Vie Oct 02, 2009 9:09 pm

> > Viendo unos informes pude armar este escript para
> guardar el doc., el tema
> > es el siguiente :
> >
> > Si yo agrego esta macro al boton de la planilla "Guardar" me abre un doc demo1.sxw pero un docuemnto nuevo, no el que
> quiero manipular...

Sub AbriendoGuardandoDocumentos4()
Dim sRuta As String
Dim mOpciones(0) As New
"com.sun.star.beans.PropertyValue"
Dim oDoc As Object

sRuta =
"private:factory/swriter"
oDoc =
StarDesktop.loadComponentFromURL( sRuta, "_blank", 0,
mOpciones() )

'Establecemos la ruta y nombre donde se guardara el archivo
sRuta = ConvertToUrl( "C:\Documents and
Settings\gperez\Escritorio\colores\cierre\demo1.sxw" )

'Guardamos el archivo
oDoc.storeAsURL(
sRuta, mOpciones() )

End Sub
elmesiasahora
 

Volver a Informática

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 0 invitados

cron