P
pao_e_vinho
TROUBLE USING INPUTBOX METHOD TO SELECT RANGE FROM OTHER SHEETS
Hi,
I need to select a range of cells from a second workbook via a InputBox
or similar.
I'm trying to do that with the following code:
Code:
--------------------
Sub InputBoxTest()
Dim MySelection As Range
Set MySelection = Application.InputBox(prompt:="Select a range of cells", Type:=8)
MySelection.Select
End Sub
--------------------
But I can't select a cell range if it is located in other workbook.
Can somenone point me to the right direction.
Thanks
P&V
Hi,
I need to select a range of cells from a second workbook via a InputBox
or similar.
I'm trying to do that with the following code:
Code:
--------------------
Sub InputBoxTest()
Dim MySelection As Range
Set MySelection = Application.InputBox(prompt:="Select a range of cells", Type:=8)
MySelection.Select
End Sub
--------------------
But I can't select a cell range if it is located in other workbook.
Can somenone point me to the right direction.
Thanks
P&V