Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default RefEdit - get range from another workbook

With the control RefEdit in a userform I can select a range within th
same workbook as where the RefEdit is. How do I choose a range i
another workbook? I´m going crazy on this... :confused

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default RefEdit - get range from another workbook

Not sure if this helps but I use this to reference a listbox to another
file:

SysList.RowSource = Workbooks("System.tbl").Worksheets("System"). _
Range("A2:A" & RowCount).Address(External:=True)

Mike F
"pbengtss " wrote in message
...
With the control RefEdit in a userform I can select a range within the
same workbook as where the RefEdit is. How do I choose a range in
another workbook? I´m going crazy on this...


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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default RefEdit - get range from another workbook

Well, I want to be able to select any range in any workbook and have th
range returned automatically, just like the RefEdit-type controls in th
Chart dialog where you select the data ranges

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default RefEdit - get range from another workbook

I though I knew how to do this, but the Window menu is inaccessible, and
Ctrl+Tab doesn't work.

Application.InputBox(Type:=8) provides very similar functionality, but
it allows you to navigate via the Window menu, and it's much less goofy
than the RefEdit.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

pbengtss < wrote:

Well, I want to be able to select any range in any workbook and have the
range returned automatically, just like the RefEdit-type controls in the
Chart dialog where you select the data ranges.


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


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default RefEdit - get range from another workbook

Actually, you could do it if you don't mind a little extra coding. Put a listbox near the
control, populated with the names of the open workbooks. When one is selected, activate the
corresponding workbook under the form.

You're not using that RefEdit on a modeless form, are you? Good, because if you do, Excel will
hang in some rather amazing ways.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Jon Peltier wrote:

I though I knew how to do this, but the Window menu is inaccessible, and
Ctrl+Tab doesn't work.

Application.InputBox(Type:=8) provides very similar functionality, but
it allows you to navigate via the Window menu, and it's much less goofy
than the RefEdit.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

pbengtss < wrote:

Well, I want to be able to select any range in any workbook and have the
range returned automatically, just like the RefEdit-type controls in the
Chart dialog where you select the data ranges.


---
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
Get user selected range into RefEdit J. Hall Excel Programming 2 April 9th 04 05:05 PM
RefEdit daMike[_2_] Excel Programming 3 December 13th 03 07:31 PM
Refedit question. Cesar Zapata[_2_] Excel Programming 1 November 27th 03 03:27 AM
RefEdit - cannot select range on another workbook Rob Excel Programming 1 November 26th 03 07:48 PM


All times are GMT +1. The time now is 12:28 AM.

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"