Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus SmartSuite Forum

Lotus SmartSuite Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

macro command {CHOOSE-FILE}
Russ Bartoli 24.Jul.11 04:30 PM a Web browser
1-2-3 9.7 Windows XP


should be implemented.
Here is the online help for it:

{CHOOSE-FILE [file-type];results-range;[title];[x];[y]} displays a Windows common dialog box that contains a list of files and waits for the user to select one.

Arguments

file-type is text that specifies the type of files displayed in the dialog box. 1-2-3 displays the names of files in the current directory, though the user can change the path.

file-type 1-2-3 lists

worksheet Only 1-2-3 worksheet files; default if you omit the argument
all All the files in the directory
text Only text files with .TXT and .PRN extensions

You can also use the wildcard characters * (asterisk) and ? (question mark) in file-type to display a list of files with similar names or extensions.

· The * wildcard character represents any number of consecutive characters in a file name or extension. For example, to have {CHOOSE-FILE} list all files with the extension .WK4, make file-type "*.wk4".
· The ? wildcard character represents any single character in a file name or extension. For example, to have {CHOOSE-FILE} list all files with a three-character extension that begins with .W, make file-type "*.w??".

results-range is the name or address of a cell where, if the user chooses OK, 1-2-3 stores the name of the file that the user selected. If the user chooses Cancel in the dialog box, results-range is blank.
title is text that appears in the title bar of the dialog box.
x is a value that specifies the horizontal position, in pixels, measured from the left side of the screen to the left side of the dialog box.
y is a value that specifies the vertical position, in pixels, measured from the top of the screen to the top of the dialog box.
If you omit x and y, the dialog box appears in the center of the screen.

Notes

If your macros currently contain the SmartPak command {CHOOSEFILE}, this command will continue to work correctly.
File names appear in a list box.
The macro commands that follow {CHOOSE-FILE} can perform an action based on the selected file.




List of Files in subdirectory (Duffy Taylor 24.Jul.11)
. . macro command {CHOOSE-FILE} (Russ Bartoli 24.Jul.11)
. . . . RE: macro command {CHOOSE-FILE} (Duffy Taylor 24.Jul.11)
. . . . . . RE: macro command {CHOOSE-FILE} (Duffy Taylor 26.Jul.11)
. . . . . . . . RE: macro command {CHOOSE-FILE} (Russ Bartoli 27.Jul.11)
. . . . RE: macro command {CHOOSE-FILE} (Duffy Taylor 16.Oct.11)
. . RE: List of Files in subdirectory (Duffy Taylor 16.Oct.11)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow