I have this macro in Excel:
Sub SaveAll()
Dim xWb As Workbook
For Each xWb In Application.Workbooks
If Not xWb.ReadOnly And Windows(xWb.Name).Visible Then
xWb.Save
End If
Next
End Sub
As can been seen, it works like a champ for saving all open Excel files and I have been using it for six plus months. Now I want to create one for PowerPoint but since I am not a VBA master, I am hoping someone in this forum can provide the code to SaveAll open files in PowerPoint that is equivalent to the Excel macro above.
Help would be greatly appreciated!!!!!
Many thanks in advance!!!
Sub SaveAll()
Dim xWb As Workbook
For Each xWb In Application.Workbooks
If Not xWb.ReadOnly And Windows(xWb.Name).Visible Then
xWb.Save
End If
Next
End Sub
As can been seen, it works like a champ for saving all open Excel files and I have been using it for six plus months. Now I want to create one for PowerPoint but since I am not a VBA master, I am hoping someone in this forum can provide the code to SaveAll open files in PowerPoint that is equivalent to the Excel macro above.
Help would be greatly appreciated!!!!!
Many thanks in advance!!!