Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How to set 'insert picture' default open location

Thank you. This was helpful


"Mike H" wrote in message
...
Hmmm,

I thought that would be as easy as changing to the correct directory

before
calling the dialog but it seems to want to default to My Pictures. Here's

an
alternative

Const MyPath As String = "Your Full path"
ChDir MyPath
MyPicture = Application.GetOpenFilename _
(filefilter:=("JPG files,*.jpg"), Title:="Select picture",

MultiSelect:=False)
If MyPicture = False Then Exit Sub
ActiveSheet.Pictures.Insert (MyPicture)

Mike



"Jack B. Pollack" wrote:

Hi,

using application.dialogs( xldialoginsertpicture) to open a dialog box.

How
can I control the path that the dialog box open with?





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
Excel will not open in default file location Roger Chapman Excel Discussion (Misc queries) 2 December 8th 10 04:58 PM
How to set 'insert picture' default open location Jack B. Pollack Excel Programming 0 January 10th 09 08:16 PM
Copy Chart and Insert in new Sheet as picture over the same location TFriis Excel Programming 1 January 22nd 08 04:27 PM
how do i change the default location of my picture files in Excel Rosie D Excel Discussion (Misc queries) 2 June 4th 06 11:43 AM
default location for files open commands Eric Dreshfield Excel Programming 2 September 15th 03 09:35 PM


All times are GMT +1. The time now is 11:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"