LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default XL2003 to XL2000 code converson

Many thanks Homey.......
I appreciate your help very much

Vaya con Dios,
Chuck, CABGx3



"Homey" wrote:

Application.FileDialog not in 2000. so just use this

Dim File As Variant
ChDrive ThisWorkbook.Path
ChDir ThisWorkbook.Path
File = Application.GetOpenFilename("Excel files(*.xls),*.xls")
If File < False Then Workbooks.Open File

"CLR" wrote in message
...
| Hi All.....
|
| This code works fine in XL2003, but I need the result to work in
| XL2000.....possible?
|
| Dim strFile As Variant
| With Application.FileDialog(msoFileDialogOpen)
| .AllowMultiSelect = False
| .Filters.Add "Excel Files", "*.xls"
| .InitialFileName = ThisWorkbook.Path & "\"
| .Show
| strFile = .SelectedItems(1)
| End With
| Workbooks.Open Filename:=strFile
|
| TIA
| Vaya con Dios,
| Chuck, CABGx3
|
|

.

 
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
Open file dialog box works in XL2000 but not in XL2003 Cydonio Excel Programming 3 November 25th 08 01:16 AM
Terminating autofilter removes commandbuttons (xl2000, not in xl2003) Rob[_5_] Excel Programming 3 August 29th 07 08:07 PM
xl2000 vs. xl2003 RangeFromPoint and Grouped Shape Greg Wilson Excel Programming 9 August 9th 07 09:10 AM
veryhidden with xl2000 & xl2003 JNW Excel Programming 7 September 19th 05 08:57 PM
Performance trouble when changing from XL2000 to XL2003 vik Excel Discussion (Misc queries) 1 March 22nd 05 06:49 PM


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