Asking to Select a Range
Hi people,
I´m trying to do a macro that asks the user to select a range. , and then get the address selected. How can I display the select-range box inside the program? Thanks for any help Irailson |
Asking to Select a Range
Small example from Help
Sub test() Worksheets("Sheet1").Activate Set mycell = Application.InputBox( _ prompt:="Select a cell", Type:=8) mycell.Select End Sub -- Regards Ron de Bruin (Win XP Pro SP-1 XL2002 SP-2) www.rondebruin.nl "Irailson" wrote in message om... Hi people, I´m trying to do a macro that asks the user to select a range. , and then get the address selected. How can I display the select-range box inside the program? Thanks for any help Irailson |
All times are GMT +1. The time now is 03:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com