Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Non-Modal InputBox?

I am having a small problem,

I have a inputbox which is set to Type 8 (Returns a Range type) and th
selection will be set to a listbox rowSource.

My problem is that the user needs to be able to select the Range fro
any of the Open Workbooks and apparently I can't choose any other boo
than the one I am running the Macro from, which I believe it has to d
with the InputBox being Modal.

Is there anyway to make the inputBox Non-Modal, or a way around it?

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Non-Modal InputBox?

You should be able to select from any open workbook using the inputbox. On
way is to go to the Window menu and select the workbook from there.

If your workbooks are not maximized, then you should be able to navigate to
them directly using the mouse. Works fine for me.

Sub BBBB()
Dim rng As Range
On Error Resume Next
Set rng = Application.InputBox("select range", Type:=8)
Debug.Print rng.Address(external:=True)
On Error GoTo 0
End Sub


--
Regards,
Tom Ogilvy


"NooK " wrote in message
...
I am having a small problem,

I have a inputbox which is set to Type 8 (Returns a Range type) and the
selection will be set to a listbox rowSource.

My problem is that the user needs to be able to select the Range from
any of the Open Workbooks and apparently I can't choose any other book
than the one I am running the Macro from, which I believe it has to do
with the InputBox being Modal.

Is there anyway to make the inputBox Non-Modal, or a way around it?

Best Regards

NooK


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Non-Modal InputBox?

OK Using the windows menu did work (Thanks for that) but I cannot choos
a workbook by clicking on the minimized icon on the task bar.

I click on it, it chooses it but the background workbook is still th
first one.

Best Regards

Noo

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Non-Modal InputBox?

Well no, but you can't use that approach manually in the same/similar
circumstances.

--
Regards,
Tom Ogilvy

"NooK " wrote in message
...
OK Using the windows menu did work (Thanks for that) but I cannot choose
a workbook by clicking on the minimized icon on the task bar.

I click on it, it chooses it but the background workbook is still the
first one.

Best Regards

NooK


---
Message posted from http://www.ExcelForum.com/



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
Userform modal Dave K[_3_] Excel Discussion (Misc queries) 1 April 9th 10 07:41 AM
Mode - getting bi- and multi-modal results?? Jdolsak Excel Worksheet Functions 5 March 15th 06 12:04 AM
Forms that are modal in 97 are not modal in 2003 Old Car Excel Discussion (Misc queries) 1 April 27th 05 08:25 AM
Modal oddity Ken McLennan[_3_] Excel Programming 2 May 27th 04 06:49 AM
Modal User Form Jim M[_3_] Excel Programming 1 November 4th 03 10:38 PM


All times are GMT +1. The time now is 08:00 AM.

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

About Us

"It's about Microsoft Excel"