Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default User form browsing for a range on a sheet?

From what I know about User Forms, once on them you can't get back to the
worksheet. What would be a nice enhancement for a utility I have is to give
the user buttons that would let them browse for a range, and then that
range address being put into a textbox on the form. Possible?

Don <donwiss at panix.com.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default User form browsing for a range on a sheet?

Hi Don,

Look at the RefEdit control which should do what you want.

---
Regards,
Norman



"Don Wiss" wrote in message
...
From what I know about User Forms, once on them you can't get back to the
worksheet. What would be a nice enhancement for a utility I have is to
give
the user buttons that would let them browse for a range, and then that
range address being put into a textbox on the form. Possible?

Don <donwiss at panix.com.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default User form browsing for a range on a sheet?

On Sat, 18 Sep 2004, Norman Jones wrote:

Don Wiss wrote:
From what I know about User Forms, once on them you can't get back to the
worksheet. What would be a nice enhancement for a utility I have is to give
the user buttons that would let them browse for a range, and then that
range address being put into a textbox on the form. Possible?


Look at the RefEdit control which should do what you want.


I tried it. First I set the modal property of the user form to False. I
added the control. I did a show of the form. I clicked the RefEdit
control's button and the form disppeared. It let me select a range. I then
pressed enter and it wrote the range into the control. But then all was
locked up. I could not close the form. I was unable to type anything on the
worksheet or VBA editor. The only thing that closed the form was Alt-F4.
But then everything was still locked up. What obviously necessary step was
I missing?

Don <donwiss at panix.com.
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default User form browsing for a range on a sheet?

Hi Don,

According to MSDN article:

http://makeashorterlink.com/?P20B12759

a RefEdit control cannot be used on a modeless userform. The article relates
to xl2k but I cannot speak for the latest xl versions.

---
Regards,
Norman



"Don Wiss" wrote in message
...
On Sat, 18 Sep 2004, Norman Jones wrote:

Don Wiss wrote:
From what I know about User Forms, once on them you can't get back to
the
worksheet. What would be a nice enhancement for a utility I have is to
give
the user buttons that would let them browse for a range, and then that
range address being put into a textbox on the form. Possible?


Look at the RefEdit control which should do what you want.


I tried it. First I set the modal property of the user form to False. I
added the control. I did a show of the form. I clicked the RefEdit
control's button and the form disppeared. It let me select a range. I then
pressed enter and it wrote the range into the control. But then all was
locked up. I could not close the form. I was unable to type anything on
the
worksheet or VBA editor. The only thing that closed the form was Alt-F4.
But then everything was still locked up. What obviously necessary step was
I missing?

Don <donwiss at panix.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
Displaying part of a sheet on a user form Phillip[_4_] Excel Programming 1 January 15th 04 04:20 AM
Copy from User form to Sheet macro tas5tas Excel Programming 1 January 13th 04 03:54 AM
passing a range to a user defined function using a form davek Excel Programming 1 December 24th 03 07:40 AM
My First User Form - How to Select Range(s) and Print Bruce Roberson[_2_] Excel Programming 3 July 25th 03 03:09 AM
How to set focus back to sheet after showing a user form Les[_4_] Excel Programming 0 July 21st 03 07:58 PM


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