je vous laisse ci joint la procedure automation...
je ne comprends pas pourquoi il y a ce message d erreur...
pouvez vous m eclairer a ce sujet??...MERCI
--
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer)
On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object
Set XL_APP = CreateObject("Excel.Application")
XL_APP.Visible = True
XL_APP.Workbooks.Open ("U:\Fregate\MacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt1")
XL_APP.Workbooks.Open ("U:\Fregate\MacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt2")
XL_APP.activeworkbook.Close
XL_APP.Quit
Set XL_APP = Nothing
MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate
Mensuels avant Import"
With Assistant
.On = True
.Visible = True
.Move xLeft = 1500, yTop = 1200
.MoveWhenInTheWay = True
.TipOfDay = True
.Animation = msoAnimationGoodbye
.On = False
End With
MIS_EN_FORME_Exit:
Exit Sub
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
Raymond [mvp]
Bonjour.
sur quelle ligne access se trouve l'erreur ?
-- @+ Raymond Access MVP http://OfficeSystem.Access.free.fr/ http://OfficeSystem.Access.free.fr/runtime/ http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" a écrit dans le message de news:
je vous laisse ci joint la procedure automation... je ne comprends pas pourquoi il y a ce message d erreur... pouvez vous m eclairer a ce sujet??...MERCI --
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer) On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object Set XL_APP = CreateObject("Excel.Application") XL_APP.Visible = True XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt1") XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt2") XL_APP.activeworkbook.Close XL_APP.Quit Set XL_APP = Nothing MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate Mensuels avant Import" With Assistant .On = True .Visible = True .Move xLeft = 1500, yTop = 1200 .MoveWhenInTheWay = True .TipOfDay = True .Animation = msoAnimationGoodbye .On = False End With MIS_EN_FORME_Exit: Exit Sub
--
@+
Raymond Access MVP
http://OfficeSystem.Access.free.fr/
http://OfficeSystem.Access.free.fr/runtime/
http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" <ALF@discussions.microsoft.com> a écrit dans le message de news:
0392BDB5-C16F-4690-ACE0-79A677FFF395@microsoft.com...
je vous laisse ci joint la procedure automation...
je ne comprends pas pourquoi il y a ce message d erreur...
pouvez vous m eclairer a ce sujet??...MERCI
--
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer)
On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object
Set XL_APP = CreateObject("Excel.Application")
XL_APP.Visible = True
XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt1")
XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt2")
XL_APP.activeworkbook.Close
XL_APP.Quit
Set XL_APP = Nothing
MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate
Mensuels avant Import"
With Assistant
.On = True
.Visible = True
.Move xLeft = 1500, yTop = 1200
.MoveWhenInTheWay = True
.TipOfDay = True
.Animation = msoAnimationGoodbye
.On = False
End With
MIS_EN_FORME_Exit:
Exit Sub
-- @+ Raymond Access MVP http://OfficeSystem.Access.free.fr/ http://OfficeSystem.Access.free.fr/runtime/ http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" a écrit dans le message de news:
je vous laisse ci joint la procedure automation... je ne comprends pas pourquoi il y a ce message d erreur... pouvez vous m eclairer a ce sujet??...MERCI --
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer) On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object Set XL_APP = CreateObject("Excel.Application") XL_APP.Visible = True XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt1") XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt2") XL_APP.activeworkbook.Close XL_APP.Quit Set XL_APP = Nothing MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate Mensuels avant Import" With Assistant .On = True .Visible = True .Move xLeft = 1500, yTop = 1200 .MoveWhenInTheWay = True .TipOfDay = True .Animation = msoAnimationGoodbye .On = False End With MIS_EN_FORME_Exit: Exit Sub
-- @+ Raymond Access MVP http://OfficeSystem.Access.free.fr/ http://OfficeSystem.Access.free.fr/runtime/ http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" a écrit dans le message de news:
je vous laisse ci joint la procedure automation... je ne comprends pas pourquoi il y a ce message d erreur... pouvez vous m eclairer a ce sujet??...MERCI --
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer) On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object Set XL_APP = CreateObject("Excel.Application") XL_APP.Visible = True XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt1") XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt2") XL_APP.activeworkbook.Close XL_APP.Quit Set XL_APP = Nothing MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate Mensuels avant Import" With Assistant .On = True .Visible = True .Move xLeft = 1500, yTop = 1200 .MoveWhenInTheWay = True .TipOfDay = True .Animation = msoAnimationGoodbye .On = False End With MIS_EN_FORME_Exit: Exit Sub
--
@+
Raymond Access MVP
http://OfficeSystem.Access.free.fr/
http://OfficeSystem.Access.free.fr/runtime/
http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" <ALF@discussions.microsoft.com> a écrit dans le message de news:
0392BDB5-C16F-4690-ACE0-79A677FFF395@microsoft.com...
je vous laisse ci joint la procedure automation...
je ne comprends pas pourquoi il y a ce message d erreur...
pouvez vous m eclairer a ce sujet??...MERCI
--
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer)
On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object
Set XL_APP = CreateObject("Excel.Application")
XL_APP.Visible = True
XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt1")
XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls")
XL_APP.Run ("MacroRE5txt2")
XL_APP.activeworkbook.Close
XL_APP.Quit
Set XL_APP = Nothing
MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate
Mensuels avant Import"
With Assistant
.On = True
.Visible = True
.Move xLeft = 1500, yTop = 1200
.MoveWhenInTheWay = True
.TipOfDay = True
.Animation = msoAnimationGoodbye
.On = False
End With
MIS_EN_FORME_Exit:
Exit Sub
-- @+ Raymond Access MVP http://OfficeSystem.Access.free.fr/ http://OfficeSystem.Access.free.fr/runtime/ http://users.skynet.be/mpfa/ pour débuter sur le forum
"ALF" a écrit dans le message de news:
je vous laisse ci joint la procedure automation... je ne comprends pas pourquoi il y a ce message d erreur... pouvez vous m eclairer a ce sujet??...MERCI --
Private Sub MIS_EN_FORME_DblClick(Cancel As Integer) On Error GoTo MIS_EN_FORME_Err
Dim XL_APP As Object Set XL_APP = CreateObject("Excel.Application") XL_APP.Visible = True XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt1") XL_APP.Workbooks.Open ("U:FregateMacroRE5txt.xls") XL_APP.Run ("MacroRE5txt2") XL_APP.activeworkbook.Close XL_APP.Quit Set XL_APP = Nothing MsgBox "TRAITEMENT TERMINE", vbInformation, "Mis en Forme Fichiers Fregate Mensuels avant Import" With Assistant .On = True .Visible = True .Move xLeft = 1500, yTop = 1200 .MoveWhenInTheWay = True .TipOfDay = True .Animation = msoAnimationGoodbye .On = False End With MIS_EN_FORME_Exit: Exit Sub