+ Reply to Thread
Results 1 to 7 of 7

CommonDialog Excel 2007 wont work

  1. #1
    Registered User
    Join Date
    08-07-2008
    Location
    Charleville
    Posts
    12

    CommonDialog Excel 2007 wont work

    hey,

    the CommonDialog function works fine in excel 2003 for my function, but not in excel 2007, is there some way to turn CommonDialog on in excel 2007? here is the code is that is of any help:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,435

    Re: CommonDialog Excel 2007 wont work

    Check your xl2003 project for references.

    Your code in xl2003 reports an error with regards CommonDialog.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    08-07-2008
    Location
    Charleville
    Posts
    12

    Re: CommonDialog Excel 2007 wont work

    how do i check the references in the attached file? sorry but iv never had to add anything in to makes these work before!
    Attached Files Attached Files

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,435

    Re: CommonDialog Excel 2007 wont work

    In VBE use menu Tools > References.

    Your project has the following references,

    VBA Visual Basic For Applications
    Excel Microsoft Excel 11.0 Object Library
    stdole OLE Automation
    Office Microsoft Office 11.0 Object Library
    MSForms Microsoft Forms 2.0 Object Library
    MSComDlg Microsoft Common Dialog Control 6.0 (SP6)
    VBScript_RegExp_10 Microsoft VBScript Regular Expressions 1.0
    RefEdit Ref Edit Control
    ADODB Microsoft ActiveX Data Objects 2.0 Library
    RDO Microsoft Remote Data Object 2.0
    RDSServer Microsoft Remote Data Services Server 6.0 Library
    RDS Microsoft Remote Data Services 6.0 Library

    Those are not all standard so somebody at some point has made those references.

  5. #5
    Registered User
    Join Date
    08-07-2008
    Location
    Charleville
    Posts
    12

    Re: CommonDialog Excel 2007 wont work

    ok thanks, is there any way to transfer the references to 2007? this file has been around for years so tracking who originally did it in 2003 would probably be impossible!

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,435

    Re: CommonDialog Excel 2007 wont work

    Not transfer as such.

    You need to open the file in xl2007, goto VBE, use Tools > References. And then browse for the dll files to include a reference.

    If you are not sure of the location check in xl2003 on the Reference dialog for the folder location.

  7. #7
    Registered User
    Join Date
    08-07-2008
    Location
    Charleville
    Posts
    12

    Re: CommonDialog Excel 2007 wont work

    thanks, i will try that!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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