File Exchange
Try Origin for Free
The Origin Forum
Home
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
|
Send File to Tech support
All Forums
Origin Forum for Programming
Forum for Python
Open Excel File as Worksheet
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
Forum for Python
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
When I click the Text Button 'Open File' I want a File Browser to Pop up so that the user can double click the excel file that they want. Then when they push ok I want this excel file to be opened as a worksheet. I have succeded in making the Text Button and running some codes by clicking on the button. And I know how to open a worksheet by 'hard-coding' the excel file location like below. wks = op.new_sheet() wks.from_file(os.path.join(op.path('e'), 'Samples', 'Graphing', 'Test-before.xlsx')) But I can't find how to open a file browser by clicking the button and how it can be uploaded as a new worksheet right away without any other user actions. Can someone help please? ^^; john
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000