Sign in to follow this  
Followers 0
SeF

Making the user to choose one item from a list

2 posts in this topic

Hi!

I want to list all running Excel files and make the user choose one from it. Plus, having the option to choose another one (not from the list. Using FileOpenDialog for example).

The part of getting names from the active Excel files, I've found here: #750186

Suggestions/Solutions?

Thanks!


Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi!

I want to list all running Excel files and make the user choose one from it. Plus, having the option to choose another one (not from the list. Using FileOpenDialog for example).

The part of getting names from the active Excel files, I've found here: #750186

Suggestions/Solutions?

Thanks!

How about looping through the array from the function you found and creating a radio control for each item, listing the name next to it (Look up for...next loops, GUICreate() GUICtrlCreateRadio() and GUICtrlCreateLabel() ). Then creating one final radio next to an input box with a "Browse..." button which triggers a FileOpen() dialog, and finally one "Open" and one "Cancel" button at the bottom of the GUI?

You're going to get better answers here if you actually try something on your own first, then come and ask for help if you can't get something specific to work. ;)

Edited by james3mg

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0