Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default GUI like the file chooser

Hi NG

Imagine this: You have n different versions of a table in a worksheet. To
ease the user experiance you want to make some sort of file-chooser like
gui, where you first select your sheet and then select some type of data
(tables, parameters...). If you choose tables, then you can use the mouse to
select one of the n different versions. The active cell is then set to be
right next to the table in question.

Like this:
Choose worksheet: User selects a worksheet
Choose data type : User selects a data type
Chose a version : User selects 1 or 2, or ... , n

Is there a nifty way to make a GUI that works like this an looks like a file
chooser?

Regards
Mark



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default GUI like the file chooser

Not with any built in controls (to get the hierarchical effect) - you could
put a listview control on a userform, but a listview control is not
distributed with office.

Beyond that you could do what you describe with a userform and comboboxes or
listboxes. The refedit control allows the user to select a cell from a
userform.

here are some general resources on userforms and userform controls:

http://support.microsoft.com/?id=168067
XL97: WE1163: "Visual Basic Examples for Controlling UserForms"

Microsoft(R) Visual Basic(R) for Applications Examples for Controlling
UserForms in Microsoft Excel 97

This Application Note is an introduction to manipulating UserForms in
Microsoft Excel 97. It includes examples and Microsoft Visual Basic for
Applications macros that show you how to take advantage of the capabilities
of UserForms and use each of the ActiveX controls that are available for
UserForms

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.



http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data


John Walkenbach's site:
http://j-walk.com/ss/excel/tips/userformtips.htm
Userform Tips

Peter Aiken Articles:

watch word wrap. the URL should all be one line.
Part I
http://msdn.microsoft.com/library/en...FormsPartI.asp
Part II
http://msdn.microsoft.com/library/en...ormsPartII.asp


--

Regards
Tom Ogilvy

"Mark" wrote in message
...
Hi NG

Imagine this: You have n different versions of a table in a worksheet. To
ease the user experiance you want to make some sort of file-chooser like
gui, where you first select your sheet and then select some type of data
(tables, parameters...). If you choose tables, then you can use the mouse

to
select one of the n different versions. The active cell is then set to be
right next to the table in question.

Like this:
Choose worksheet: User selects a worksheet
Choose data type : User selects a data type
Chose a version : User selects 1 or 2, or ... , n

Is there a nifty way to make a GUI that works like this an looks like a

file
chooser?

Regards
Mark





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default GUI like the file chooser

Wow. Thanks a lot for that in depth reply. I really appreciate it. :-)
I will look into it right away.

Mark


"Tom Ogilvy" wrote in message
...
Not with any built in controls (to get the hierarchical effect) - you

could
put a listview control on a userform, but a listview control is not
distributed with office.

Beyond that you could do what you describe with a userform and comboboxes

or
listboxes. The refedit control allows the user to select a cell from a
userform.

here are some general resources on userforms and userform controls:

http://support.microsoft.com/?id=168067
XL97: WE1163: "Visual Basic Examples for Controlling UserForms"

Microsoft(R) Visual Basic(R) for Applications Examples for Controlling
UserForms in Microsoft Excel 97

This Application Note is an introduction to manipulating UserForms in
Microsoft Excel 97. It includes examples and Microsoft Visual Basic for
Applications macros that show you how to take advantage of the

capabilities
of UserForms and use each of the ActiveX controls that are available for
UserForms

http://www.microsoft.com/ExcelDev/Articles/sxs11pt1.htm
Lesson 11: Creating a Custom Form
Excerpted from Microsoft® Excel 97 Visual Basic® Step by Step.



http://support.microsoft.com/default.aspx?kbid=161514
XL97: How to Use a UserForm for Entering Data

http://support.microsoft.com/default.aspx?kbid=213749
XL2000: How to Use a UserForm for Entering Data


John Walkenbach's site:
http://j-walk.com/ss/excel/tips/userformtips.htm
Userform Tips

Peter Aiken Articles:

watch word wrap. the URL should all be one line.
Part I

http://msdn.microsoft.com/library/en...FormsPartI.asp
Part II

http://msdn.microsoft.com/library/en...ormsPartII.asp


--

Regards
Tom Ogilvy

"Mark" wrote in message
...
Hi NG

Imagine this: You have n different versions of a table in a worksheet.

To
ease the user experiance you want to make some sort of file-chooser like
gui, where you first select your sheet and then select some type of data
(tables, parameters...). If you choose tables, then you can use the

mouse
to
select one of the n different versions. The active cell is then set to

be
right next to the table in question.

Like this:
Choose worksheet: User selects a worksheet
Choose data type : User selects a data type
Chose a version : User selects 1 or 2, or ... , n

Is there a nifty way to make a GUI that works like this an looks like a

file
chooser?

Regards
Mark







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
How to use Calender control as date chooser in excel?? Rakesh Excel Discussion (Misc queries) 2 May 25th 06 04:33 PM
How to setup a 'chooser' box/cell for Y or No? Pheasant Plucker® Excel Discussion (Misc queries) 6 January 17th 06 12:26 AM
opening an excel file opens a duplicate file of the same file skm Excel Discussion (Misc queries) 1 December 7th 05 05:52 PM
Formula chooser? JKG Excel Worksheet Functions 3 October 11th 05 05:41 PM
i received a file that reads powerpoint document file file exten. CCAROLACEREC Excel Discussion (Misc queries) 1 December 4th 04 05:02 PM


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