VB : ligne fausse

bibi_fricotin -  
 euh -
Bonjour,
Sauriez-vous ce qui ne va pas sur cette ligne de VB :
application.StatusBar = "Now working on " & workfile workbooks.Open Filename:=myPath & workfile
merci
A voir également:
  • Créer un fausse banque en ligne
  • Vb - Télécharger - Langages
  • Vb cable - Télécharger - Audio & Musique
  • Vb download - Télécharger - Langages
  • Vb runtime - Télécharger - Divers Utilitaires
  • Vb 2008 - Télécharger - Langages

3 réponses

bibi_fricotin
 
il manquait ça à mon message :
myPath = "C:\data\g8_\fdp"
workfile = Dir(myPath & "*.xls")
apparemment il manque qq chose à workbooks
0
euh
 
myPath = "C:\data\g8_\fdp\"
ça devrait aller mieux ..
@+
0
bibi_fricotin
 
c'est vrai qu'il manquait "\" mais c'est pas mieux , il manque le fin d'instruction
merci
0
euh
 
application.StatusBar = "Now working on " & workfile workbooks.Open Filename:=myPath & workfile
et c'est censé faire quoi ça ?
car ":=" et "workfile workbooks"
ce n'est pas une syntaxe valide en VB.
@+
0