Hi all, back again.
I'm trying to get a small sub to show all the currently open workbooks. I copied this excel code I found through google, is there a quick way to modify it to run with access, or maybe there is a snippet I couldn't find buried on this forum using the search function.
Any help is appriciated.
Thanks
I'm trying to get a small sub to show all the currently open workbooks. I copied this excel code I found through google, is there a quick way to modify it to run with access, or maybe there is a snippet I couldn't find buried on this forum using the search function.
Code:
Private sub OpenWorkbooks()
Dim msg As String, wb As Workbook
For Each wb In Application.Workbooks
msg = msg & wb.Name & vbLf
Next wb
MsgBox msg, , "Open Workbooks"
End Sub
Any help is appriciated.
Thanks