Closed Thread
Results 1 to 4 of 4

file dialog problem

  1. #1
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    file dialog problem

    Hi,
    I have small problem with file dialog and need some help.

    I use file picker dialog to allow user to select jpg.
    All is fine if user selects file and closes dialog by clicking button.

    However I am getting error if filedialog is closed by X.

    I tried to find how to catch this but found nothing.

    Can you help?

    Cris.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: file dialog problem

    Is this the same question as here?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    11-30-2013
    Location
    Poland
    MS-Off Ver
    Excel 2013
    Posts
    54

    Re: file dialog problem

    I do not know if it is the same.

    Both are obviously mine.

    It mite by but in the moment I am far from being able to solve any.

    I found that terminate event is not firing when form window is closed with X. And I will try with queryclose but did not understand it well enough.

    As for filedialog I do not have any idea on how I would use queryclose, and how should I change my code related with it.

    If these questions are the same pleas show me exumple how to deal with this problems.

    Please Login or Register  to view this content.
    This is code for filedialog. I get error on line
    zdjecie_fp = .SelectedItems(1)

    Cris.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: file dialog problem

    Quote Originally Posted by kmeld View Post
    I do not know if it is the same.

    Both are obviously mine.

    Cris.
    You are kidding of course....! If you don't know that these are same..then i do. And in this case.

    1) Pls take some minutes to read forum rules.

    2)

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] MACRO: Store name of selected file as string w/ import data file dialog box
    By AnnieMcken in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 02:13 PM
  2. detect file download dialog box problem
    By ckjason in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2012, 01:54 AM
  3. VBA Changing a fixed file path with open file dialog box
    By Dan27 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2011, 08:54 AM
  4. Windows File Dialog box problem from "Office 2000 VBA Fundamentals
    By Peter Rooney in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-07-2006, 08:55 AM
  5. File Browse Function (Open dialog box for choosing file)
    By b-123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-25-2005, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1