
Sheets("Bankhaus Hallbaum AG").Select
Cells.Find(What:="interbank ratio", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Range("A1:D1").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Foglio2").Select
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveSheet.Paste |
For Each sh In ActiveWorkbook
sh.Activate
Cells.Find(What:="interbank ratio", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Range("A1:D1").Select
Selection.Copy
Sheets("Foglio1").Select
ActiveCell.Range("A1:D1").Select
ActiveSheet.Paste
Next
End Sub |
For Each sh In ActiveWorkbook.sheets
Cells.Find(What:="interbank ratio", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Range("A1:D1").Select
Selection.Copy
Sheets("Foglio1").Select
ActiveCell.Range("A1:D1").Select
ActiveSheet.Paste
Next
End Sub
|
Sub ok()
'
' Macro4 Macro
' Macro registrata il 13/07/2010 da Mario
'
' Scelta rapida da tastiera: CTRL+a
'
For i = 1 To ActiveWorkbook.Sheets.Count
Sheets(i).Select
Cells.Find(What:="interbank ratio", After:=ActiveCell,LookIn:=xlFormulas, LookAt:=xlPart, SearchOrder:=xlByRows,SearchDirection:=xlNext, MatchCase:=False,SearchFormat:=False).Activate
ActiveCell.Range("A1:D1").Select
Selection.Copy
Sheets("Foglio1").Select
Cells(i, 1).Select
ActiveSheet.Paste
Next
End Sub |
