Re : mise a jour d'info du net
voila ce que j'arrive a ecrire mais cest pas top......au secour
Sub import_admin()
'
' import_admin Macro
' Macro enregistrée le 10/05/2009 par
'
'
Range("H2").Select
Sheets("Feuil2").Select
Range("A1").Select
With ActiveSheet.QueryTables.Add(Connection:= _
"URL;http://www.manageo.fr/fiche_info/302020532/57/rocha.html", Destination:= _
Range("A1"))
.Name = "rocha_1"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.BackgroundQuery = True
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = True
.RefreshPeriod = 0
.WebSelectionType = xlSpecifiedTables
.WebFormatting = xlWebFormattingNone
.WebTables = "30"
.WebPreFormattedTextToColumns = True
.WebConsecutiveDelimitersAsOne = True
.WebSingleBlockTextImport = False
.WebDisableDateRecognition = False
.WebDisableRedirections = False
.Refresh BackgroundQuery:=False
End With
Cells.Find(What:="nom", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
, SearchFormat:=False).Activate
Range("B2").Select
Selection.Copy
Sheets("Feuil1").Select
Range("P2").Select
ActiveSheet.Paste
End Sub