DThompson89
New Member
- Joined
- Dec 15, 2023
- Messages
- 3
- Office Version
- 2021
- Platform
- Windows
I am trying to figure out how to get a popup with a list of open workbooks that is selectable, so that the selected workbook can be used to copy data into the original workbook containing the macro. I was able to do something similar with the worksheets, see the example below. Is it possible to do the same with all open workbooks? I've tried it a bunch of different ways, and keep getting errors.
Sub Example()
Dim ws As Worksheet
Application.CommandBars("Workbook Tabs").ShowPopup
Set ws = ActiveSheet
End Sub
Sub Example()
Dim ws As Worksheet
Application.CommandBars("Workbook Tabs").ShowPopup
Set ws = ActiveSheet
End Sub