Opening a File Selection window from VBA

I am working on a vba sub-routine that will create a project file that we can send to our customers.  The procedure will remove any confidenital information from the plan and save it a local file. 
I would like the user to select the destination using a standard windows file selection window. 
How can i do that?
Is there a function I can call?  Do I need to create a form?
Thanks in advance for your help,
Craig
Thanks, Craig

This is the simplest solution (with a training component). To get a file save as local file dialog you will need to use a windows API. Try the following code:
http://access.mvps.org/access/api/api0001.htm
It's for Access, but does work in Project.
Rod Gill
The one and only Project VBA Book
Rod Gill Project Management

Similar Messages

  • Can not open new blank tab window from file, new tab.In Tools/Options/Tabs ticked open new windo w in new tab?

    Can not open new blank tab window from file, new tab.In Tools/Options/Tabs I have ticked open new window in new tab?

    The Ask Toolbar is probably causing that in the Firefox 3.6.13 version. Disable that extension or un-install it.

  • Cannot Open Excel File after exporting from Disco Plus

    Hi there,
    I got a question from one user having issue with opening Excel file after exporting from Disco Plus.
    The report has been using for a while and he is using Excel 2003 version and Discoverer 10g(10.1.2.2), he never got this kind of error before, just recently got error.
    After exporting from Disco Plus he saved file on his desktop and when he tries to open the excel it says "Cannot be Accessed, can be corrupted...." but this is not from network drive since he saved file on local desktop or C drive.
    Also not for all reports, only this particular report and only specific parameter, for example for parameter 2008 Feb opened successfully, but for2009 Feb he gets this error when trying to open excel.
    i tried in excel 2007 also , i dont think this is Excel version error, am not sure.
    Also after go live last week (we upgraded database from 9i to 10g) but i am not sure this causes ,since for one parameter working, for other parameter not working.
    Actually we should get one window for Macro when we try to open excel, but he is not getting it seems.
    Any ideas/thoughts on this would be greatly appreciated.
    Thanks for your help
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Rod,
    Thanks for your quick response on this.
    Yes, we can export to other formats as well, but actually exporting is working, after saving the file on our local desktop/drive and when we try to open we get this kind messages or we cannot open the file, we should get message window for Macro to enable/disable but for this report we are not getting this either,
    Also this happens only for specific parameters,like i mentioned above it works I mean excel file opens for one set of parameters but for some other set of parameters cannot open.
    For example :- when we enter FEB 2008 it works, if we enter FEB 2009 it won't open the file.
    This is weird
    I am still working on this issue, may be better to recreate the report again might be helpful,
    Any ideas/comments/thoughts would be great
    Thanks
    Skat

  • SAP Management Console : Error MMC cannot open the file "C:\WINDOWS\sapmmc.

    Hi Experts,
    We are installing the xmii system on a server, it was not installed completely.
    Now we have deleted the xMII folders from Add and Remove in Control Panel.
    After deleting these folders, when we are opening SAP Management Console, it is giving one <b>Error MMC cannot open the file "C:\WINDOWS\sapmmc.msc."</b>
    Please help us to resolve this problem, we have no idea to resolve the same.
    Regards,
    Study SAP

    Hi,
    Looks like your mmc dll is corrupted, with your install and uninstall of software.
    Two Options:
    1. Upgrade the Kernel with latest Patch level, which comes with new SAPMMC.dll file
    OR
    2. Just download the SAPMMC*.sar file from service market place and extract in exe directory, since it is windows re-booting the server doesn't hurt.
    Hope this helps. points are welcome.
    -K

  • Error:Cannot open the file c:\windows\sapmmc.msc

    Hi Folks,
    I have been using SAP IDES ECC 6.2 for a while and now all of a sudden encountered a problem CANNOT OPEN THE FILE C:\WINDOWS\SAPMMC.MSC.
    I am a technical consultant and i know nothing about basis and sap installations.
    Is this error so fatal? How can i fix the problem..
    Thanks in advance.
    Ranjith kumar.

    Hi
    Ranjith
    Hi,
    Looks like your mmc dll is corrupted, with your install and uninstall of software.
    Two Options:
    1. Upgrade the Kernel with latest Patch level, which comes with new SAPMMC.dll file
    OR
    2. Just download the SAPMMC*.sar file from service market place and extract in exe directory, since it is windows re-booting the server doesn't hurt.
    Regards
    Bhaskar

  • Missing photos when opening multiple files into Photoshop from LR3.2

    When I try to open multiple files (8+ maybe) from Lightroom 3.2 to edit in Photoshop CS5, almost always one or two photos does not open. This means I have to manually find out which photos are missing, and then reopen them.
    Can anyone help me with this problem??

    I have opened as many as 50 from external hard drive with LR 3.2 and Windows XP with no problem.
    It takes a long time to bring in this many if they are 100MB tiffs.  I had to go have coffee and come back later.
    Are you sure you waited until it was finished?

  • How do I open a new browser window from Flash

    I wish to open a new browser window from Flash and when the new window closes to return to the location from whence I started.
    ThomasChen

    The command to open a new window would be the "_blank" part of a command to link to a web page in the code below.
    navigateToURL(new URLRequest("http://www.anothersite.com", "_blank"));
    As far as the new window closing and getting back to where you were in the original window, I don't understand where that original window might have gone to... You should be wherever you last left it.

  • Windows 2k8R2 - Receiving Error when logging in ( MMC Cannot open the File: C:\Windows\system32\ServerManager.msc)

    Windows 2008 R2 - I just started receiving this when i log in, and also when i try to manage the machine:
    MMC Cannot open the File:
    C:\Windows\system32\ServerManager.msc
    This may be because the file does not exist , is not an MMC console , or was created by a later version of MMC. This may also be be because you do not have sufficient access rights to the file.
    This always worked before, and works for other users just not me on this particular box. This is a production box and i need a resolution quick please. Thanks in advance.
    PM

    Has the system update readiness tool been run without error?
    http://windows.microsoft.com/en-US/windows7/What-is-the-System-Update-Readiness-Tool
    Then check the %SYSTEMROOT%\Logs\CBS\CheckSUR.log file for errors.
     You can also try creating a new MSC
    Start|Run|"mmc"|File|Add/Remove|Server Manager|Add|Local|OK|OK|File|Save As
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Adobe reader 10.1.2 could not open the file '/C/WINDOWS'

    since adobe reader 10.1.2 urls don't work in pdf files to folders.
    C:\WINDOWS\xy.xls  
    ok
    C:\WINDOWS
    not ok > adobe reader 10.1.2 could not open the file '/C/WINDOWS'
    C:\WINDOWS
    ok > with deactivated protected mode
    no problems with 9.5.0 or 10.1.1 with activated protected mode 
    is that known? any other workaround?
    thanks

    Hi,
         I also have Reader 10.1.2 installed on my machine and I also cannot open a link in the PDF, that will eventually call an exe file. I don't think that there would be different behaviour on your machine. So, I think, now this is the expected behaviour Reader 10.1.2 onwards.

  • Opening the file selected by JFileChooser()...

    Hi,
    can anyone explain how to open a file selected by using JFileChooser()...
    Thanx ..
    Regards,
    Sangeetha..

    ya..how to open a file given a file name??
    am new to java programming & plz dont take otherwise if i have asked a nonsense Q.,
    anyways, Thanx for sparing ur time & answering..
    regards,
    Sangeetha..

  • FileNotFoundException thrown when opening a file for writing from EJB

    Hi,
    I know it is against EJB rules that access file IO from EJB. However we have a legacy system to working with and we need to generate a text file on file system.
    Weblogic (we are using 10.3) allows open a file for read from EJB. When we tried to open a writer like below:
    BufferedWriter writer = new BufferedWriter( new FileWriter(fileName, false));
    FileNotFoundException was thrown from the native method of open. The fileName is an absolute path and permission is properly set. The same piece of code can execute correctly in a test application with same filename.
    Does anyone know how to achieve this or whether Weblogic just forbids this kind of output access?

    Sorry guys. Just double-checked the source code and found out a bug produced wrong filename, the filename was surrounded by "", so FileNotFoundException is a correct result.
    Weblogic does allow read/write external file.

  • 'MMC cannot open the file C:\Windows\SAPMMC.MSC'

    Hi
    When I try and run SAPMMC on the desk top I get the error :
    'MMC cannot open the file C:\Windows\SAPMMC.MSC'
    this is because the file does not exists, is not an MMC console, or was created by a later version of the MMC'
    I have full permissions on this server, has anyone seen this error before?
    The file C:\Windows\SAPMMC.MSC does exist, infact there is a .1, .2, .3 and .4 version in C:\Windows.
    Thanks for any help.

    Hi,
    Check out following link and notes inside it.
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=936273]
    Hope this helps.
    Manoj Chintawar

  • Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    is that the eos 5d?
    if so, you only need cr 3.3 or greater.  what version do you have in your cs4? (help>about plugins>camera raw)
    if you need to update it, http://www.adobe.com/downloads/updates/

  • How open xmp file in window 7

    When I do post processing by Raw, XMP file automatically created.
    1.How open this file in window 7?
    2. I need keep this file because I have same file in Adobe 12?
    3. What happened if delete it?
    4. If it not need how prevent to created it?

    Also before go to any adjustment we can ( I always do)   made copy or duplicate the  original and working with the copy.
    This is completely unnecessary.
    Adobe software never overwrites or modifies your RAW files. (Not true for original JPG files, in which case Adobe software could overwrite the original JPG file)
    It has nothing to do with saving as DNG or saving as JPG. Furthermore, if you are editing a RAW, in general I see no point to save it as a DNG, when saving it as a RAW by clicking on "DONE" accomplishes the same thing.

  • Photoshop Elements 9 won't open blank files or copy from clipboard

    PE9 for Macwon't open blank files or "copy from clipboard."  I get error messages that say, "Could not complete the command because of a problem using the Adobe color engine," when I try to create a new blank file, and "Could not place because of a program error" when trying to "copy from clipboard."  I tried reinstalling the software, but that didn't help.

    Are you still facing the same problem ?
    can you try it after resetting your preferences.
    To reset your preferences at the time of launching PSE press command+option+shift key combination untill following pop up comes.
    Addi

Maybe you are looking for

  • Using Native SQL in ABAP for DB2 database

    Dear Friends,        I have 500K records in ITAB(Internal table) which needs to insert in 'Z' transparent table. Currently it is taking hours of time for insertion and commit.  Does using Native SQL helps in performance or any suggestions? If so plea

  • Please Help me in connecting my X-Fi! Plea

    Hi all, Santa's going to bring me a shiny new X-Fi Fatality, and I can't wait to get my hands on it! But first I need your help in connecting it to my Creative/Cambridge DTT2500: speakers are now linked to my Audigy via the Y-cable with the mini-jack

  • [Solved] Prelink compilation error

    gcc -Wall -Wno-pointer-sign -march=native -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o execstack execstack.o checksum.o data.o dso.o dwarf2.o fptr.o hashtab.o mdebug.o stabs.o crc32.o arch-i386.o arch-a

  • Print BIG Problem

    i want to convert the Component (Such asJTable, JLabel, JTextArea...) into Graphics or Image and print out in Mulit-page with PrintPreview. My Problem is : 1. How to Convert From Component into Graphics / Image 2. Code for print(Graphics g........).

  • How to create a column with increasing numbers in h:dataTable?

    I need to make a table that would have a column with order numbers, starting from 1 and increasing by 1 for every row. I tried using JSTL for this but it seems it is being ignored (as it probably should). My code is below. I know I am supposed to use