RECHERCHER :
COMMUNAUTE MP
Identifiez vous ...
Devenir Membre
J'ai oublié mon MDP
DOMAINE MP
Bavardages
Langages Généraux
Langages Web
Langages DotNet
Autres langages
Dev. Jeux Video
Sécurité
Sys. Exploitation
Graphismes
Logiciels
Réseaux
Bases de données
Méthodologies
Emplois High-tech
Aide juridique
Articles juridiques
FORUM
Index des forums
Ajouter un sujet
Rechercher sujet
Contact Responsable
Devenir modérateur
CHAT MP IRC
Votre pseudo ...
Serv: irc.irc-land.org
Chan: #MoteurProg
PARTICIPER
Plus de 3500 emplois.
Rechercher un job
Déposez votre CV
Emplois High-tech

Visiteur MP

 Enregistrement de macro sous Access

Forum : ACCESS
Sous Catégorie : Aucune
Type du sujet : Sujet Normale
FAQ : FAQ ACCESS

SUIVI DES SUJETS PAR MAIL

SUIVI PAR MAIL INACTIF

RESOLUTION DU SUJET SUJET RESOLU
BLOQUAGE DU SUJET SUJET ACTIF
APPARTENANCE A LA FAQ N'APPARTIENT PAS A LA FAQ


PAGE : [1]

POSTER UN NOUVEAU SUJET REPONDRE A CE SUJET

FORUM ACCESS

PREMIERE PAGE

PAGE PRECEDENTE

Page précedente

Page suivante

PAGE SUIVANTE

DERNIERE PAGE
zefennec
Nouveau membre
Inscrit : 21/03/2006
Messages : 3
Message
#154278
Posté le 17/06/08 à 17:32
Bonjour,


j'ai une certaine expérience en programmation mais découvre aujourd'hui Access.
J'en ai, en effet besoin, ne disposant pas d'autre chose de connu par moi(Oracle, mysql...)

J'ai fait un peu de vba sous excel et, pour gagner du temps, j'utilisais la fonction "Macro/nouvelle macro" qui permettait d'enregistrer toutes les actions faites sur le classeur.
Je ne vois pas un tel menu sous access (2003). Existe-t-il ?
Si oui, où ?

Merci de votre aide

Steph

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

Publicité
Inscrit : X
Messages : X
Message
#Aucun

HAUT DE PAGE

  

RGI
Superviseur :
- Logiciels
Modérateur :
- Visual basic
- Bureautique
Avatar de RGI
Inscrit : 21/08/2006
Messages : 1718
Message
#154280
Posté le 17/06/08 à 17:43
Bonjour

non ça n'existe pas sous Access

il faut écrire le code au clavier. D'ailleurs que pourrait-on enregistrer?

Cdlt

RGI
__________________________
PS: VBA pour EXCEL est maintenant dans Bureautique Smiley
merci de poser vos questions VBA à cet endroit
salutations

RGI

Un MERCI en retour c'est sympa
et ne pas oublier le tag :Imageaprès résolution.

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

zefennec
Nouveau membre
Inscrit : 21/03/2006
Messages : 3
Message
#154282
Posté le 17/06/08 à 19:10
Le premier besoin que j'ai est l'import d'un fichier texte.
Je pensais donc lancer l'enregistrement, faire un import manuel et partir de cette base pour coder.
Tant pis, je vais retrousser mes manches.

MErci

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

RGI
Superviseur :
- Logiciels
Modérateur :
- Visual basic
- Bureautique
Avatar de RGI
Inscrit : 21/08/2006
Messages : 1718
Message
#154285
Posté le 17/06/08 à 20:13
Voilà pour un txt


Option Compare Database Sub Main() 'Declare a variable as a FileDialog object. Dim fd As FileDialog 'Create a FileDialog object as a File Picker dialog box. Set fd = Application.FileDialog(msoFileDialogFilePicker) 'Declare a variable to contain the path 'of each selected item. Even though the path is aString, 'the variable must be a Variant because For Each...Next 'routines only work with Variants and Objects. Dim vrtSelectedItem As Variant 'Use a With...End With block to reference the FileDialog object. With fd .Filters.Add "text Files", "*.TXT" .Filters.Add "All Files", "*.*" 'Use the Show method to display the File Picker dialog box and return the user's action. 'The user pressed the button. If .Show = -1 Then 'Step through each string in the FileDialogSelectedItems collection. For Each vrtSelectedItem In .SelectedItems 'vrtSelectedItem is a string that contains the path of each selected item. 'You can use any file I/O functions that you want to work with this path. 'This example displays the path in a message box. MsgBox "The path is: " & vrtSelectedItem Next vrtSelectedItem 'The user pressed Cancel. Else End If End With 'Set the object variable to nothing. Set fd = Nothing End Sub

__________________________
PS: VBA pour EXCEL est maintenant dans Bureautique Smiley
merci de poser vos questions VBA à cet endroit
salutations

RGI

Un MERCI en retour c'est sympa
et ne pas oublier le tag :Imageaprès résolution.

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 

zefennec
Nouveau membre
Inscrit : 21/03/2006
Messages : 3
Message
#154286
Posté le 17/06/08 à 20:22
je n'en demandais pas tant ! ;-)

merci

HAUT DE PAGE

PROFIL MEMBRE LUI ECRIRE 
POSTER UN NOUVEAU SUJET REPONDRE A CE SUJET

PREMIERE PAGE

PAGE PRECEDENTE Page précédente

Page suivante

PAGE SUIVANTE DERNIERE PAGE

FORUM ACCESS



    PAGE : [1]



.: Site Web développé par Julien Pichot et l'équipe MPWG avec www.evolvia-web.com :.