come da titolo c'è un modo (o anche un addon) per eseguire una macro in office su + documenti senza star li ad aprirli?
Per intenderci x chi usa photoshop un pò come il sistema batch applica a una cartella del programma di adobe.
Grazie
Moderatori: cb_123, tonertemplum, marcosniper
Sub BatchProcessor2()
With Application.FileSearch
.NewSearch
.LookIn = "d:\x" '(inserire il percorso della cartella coi file)
.SearchSubFolders = True
'.FileName = "*.doc"
.MatchTextExactly = True
.FileType = msoFileTypeWordDocuments
If .Execute() > 0 Then
MsgBox "There were " & .FoundFiles.Count & "file(s) found."
For i = 1 To .FoundFiles.Count
Documents.Open FileName:=.FoundFiles(i)
With ActiveDocument
(RICOPIARE QUI LA MACRO CHE DEVE ESSERE RIPETUTA SU + DOCUMENTI)
End With
Next i
Else
MsgBox "There were no files found"
End If
End With
End Sub
Sub Macro1()
'
' Macro1 Macro
' Macro registrata il 18/01/2007 da Aragorn
'
(RICOPIARE QUI LA MACRO CHE DEVE ESSERE RIPETUTA SU + DOCUMENTI)
End Sub
Visitano il forum: Nessuno e 1 ospite