![]() |
Allowing user to select a cell in another workbook in VBA
Hello,
I'm working on a VBA subroutine which pauses the macro to allow the user to select (with a mouse) a cell in a different workbook (which is already open) and, for the cell selected, records the workbook name, sheet name, and cell address to variables. I've tried application.inputbox, but that seems to work only for the current workbook; it won't let me select another workbook. Does Excel offer another way to handle this? Any ideas? |
Allowing user to select a cell in another workbook in VBA
Make sure that "application.screenupdating = true" then tell the user to use the
Window menu to get to other workbooks. Stephen wrote: Hello, I'm working on a VBA subroutine which pauses the macro to allow the user to select (with a mouse) a cell in a different workbook (which is already open) and, for the cell selected, records the workbook name, sheet name, and cell address to variables. I've tried application.inputbox, but that seems to work only for the current workbook; it won't let me select another workbook. Does Excel offer another way to handle this? Any ideas? -- Dave Peterson |
All times are GMT +1. The time now is 08:37 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com