Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Inputbox from another OPEN workbook

Hello,

Is there a way to return a range with Inputbox from another OPEN
workbook?

Thanks
Avi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Inputbox from another OPEN workbook

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 259
Default Inputbox from another OPEN workbook

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Inputbox from another OPEN workbook

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 84
Default Inputbox from another OPEN workbook

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   Report Post  
Posted to microsoft.public.excel.programming
avi avi is offline
external usenet poster
 
Posts: 195
Default Inputbox from another OPEN workbook

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
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
Inputbox to return range from another workbook [email protected] Excel Programming 4 December 19th 07 04:52 PM
Open a specific workbook...find value from other open workbook and then insert cells values in cell next to it. [email protected] Excel Programming 1 May 13th 07 01:46 PM
Application.inputbox for another workbook Utkarsh Excel Programming 2 September 8th 06 05:57 PM
Open Files via InputBox Maria[_7_] Excel Programming 4 March 15th 05 02:15 PM
Open Folder from inputbox Phil Floyd Excel Programming 1 June 28th 04 06:34 PM


All times are GMT +1. The time now is 01:42 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"