Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Select file after GetOpenFilename

How do I select a specified file (as if clicked by the mouse) after opening
the file Open dialog with GetOpenFilename?
I don't want to use the specified file name as a filter, because I want to
show all the files in the folder.
Thanks for any assistance.

RBS

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Select file after GetOpenFilename

This is the best I can do so far:

SendKeys strFile, False

varDialogResult = _
Application.GetOpenFilename(Title:="Press TAB to filter out the file: "
& strFile)


RBS


"RB Smissaert" wrote in message
...
How do I select a specified file (as if clicked by the mouse) after
opening the file Open dialog with GetOpenFilename?
I don't want to use the specified file name as a filter, because I want to
show all the files in the folder.
Thanks for any assistance.

RBS


Reply
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
GetOpenFilename Wolfgang Excel Programming 1 February 6th 04 07:37 PM
open file dialog-select file-import worksheet Divinedar Excel Programming 1 January 16th 04 07:13 PM
Prompt user to select file with default file selected dialog Bruce Cooley Excel Programming 0 September 15th 03 06:43 AM
Prompt user to select file with default file selected dialog Bob Phillips[_5_] Excel Programming 0 September 14th 03 09:22 PM
Prompt user to select file with default file selected dialog Bob Phillips[_5_] Excel Programming 0 September 14th 03 09:19 PM


All times are GMT +1. The time now is 03:02 AM.

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"