Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Is there a way to return a range with Inputbox from another OPEN workbook? Thanks Avi |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
avi formulated the question :
Hello, Is there a way to return a range with Inputbox from another OPEN workbook? Thanks Avi Activate that workbook before displaying the InputBox, maybe? -- Garry Free usenet access at http://www.eternal-september.org ClassicVB Users Regroup! comp.lang.basic.visual.misc |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Avi
I am not really up to speed with Excel User forms and their functionality or the scope of what can be done within them. How about a user form, I have an idea, although it has potential for pie-in-the-sky as I am not sure if it is fundamentally correct. When said userform is opened~activated, the attached Listbox / combobox looks for all opened~active workbooks then compiles and displays a list for you to select from. You could then have a series of other boxes to do whatever it is you are hoping to do, eg insert something into a specific cell or range or something to that affect. Something to ponder. HTH Mick. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim rng As Range
On Error Resume Next Set rng = Application.InputBox("prompt", "title", Type:=8) On Error GoTo 0 If rng Is Nothing Then MsgBox "you didn't select cells or type a valid address" Else ' if you want to activate the Input range rng.Parent.Parent.Activate rng.Parent.Activate rng.Activate End If Regards, Peter T "avi" wrote in message ... Hello, Is there a way to return a range with Inputbox from another OPEN workbook? Thanks Avi |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
PS, forgot to add, with the Inputbox showing to navigate to a different
workbook use the Window menu (2003) or equivalent on the Ribbon. Peter T |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On 5 juil, 17:09, "Peter T" wrote:
PS, forgot to add, with the Inputbox showing to navigate to a different workbook use the Window menu (2003) *or equivalent on the Ribbon. Peter T Looks promising. Many thanks Avi |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Inputbox to return range from another workbook | Excel Programming | |||
Open a specific workbook...find value from other open workbook and then insert cells values in cell next to it. | Excel Programming | |||
Application.inputbox for another workbook | Excel Programming | |||
Open Files via InputBox | Excel Programming | |||
Open Folder from inputbox | Excel Programming |