Formating file upload(only Excek file)

Hi i m using file upload method to create or select document.?

i wanna to only Excel file to be in the open file dialog box

using lotusscript or formula or Javascript language

here is the code"

this is in notesclient /

i wanna to both web and as well as client notes.

will u please help me in filtering in this files>

lot of thanks in ahead.

DEV//\

file := @Prompt([LocalBrowse]; “Select a database to open”;“”);

@SetField(“ExcelForTimesheet”;file);

“”

Subject: Formating file upload(only Excek file)

This is what i see from the help

A value that specifies the types of files to display initially: “1” for .nsf files only; “2” for .ntf files only; “3” for files of all type. Required only with style [LocalBrowse].