LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Trouble Using InputBox Method to Select Range from Other Sheets


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


--
pao_e_vinho
------------------------------------------------------------------------
pao_e_vinho's Profile: http://www.excelforum.com/member.php...o&userid=21360
View this thread: http://www.excelforum.com/showthread...hreadid=554915

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Select Range off sheet from inputbox Jim May Excel Discussion (Misc queries) 4 September 29th 07 08:26 PM
Select range with InputBox. Is it possible? Isabel Excel Programming 3 March 16th 06 07:02 PM
Selecting a Range using Inputbox Method John Pierce Excel Programming 3 June 4th 05 12:07 PM
Select Method of Sheets Brenda Meza via OfficeKB.com Excel Programming 2 May 20th 05 12:37 AM
Select method of Range fails J West Excel Programming 1 June 7th 04 02:41 PM


All times are GMT +1. The time now is 09:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"