+ Reply to Thread
Results 1 to 5 of 5

Macro to retrieve files over network works on Excel 2007 but not with Excel 2010 or 2013

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Macro to retrieve files over network works on Excel 2007 but not with Excel 2010 or 2013

    Hello,

    First, please allow me to mention that I am not a programmer or an advanced user of Excel. I am a support person.

    Someone who is no longer working at the company I work for created a macro to import images to an Excel sheet based of product ID in a database.
    This macro works well on Excel 2007 but doesn't work on Excel 2010 or 2013. Could someone please tell me what needs to be done to make it work on Excel 2010 and 2013?

    Thank you kindly,


    Macro code:

    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #3 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer

    Please Login or Register  to view this content.
    Last edited by arie01; 04-10-2014 at 12:06 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Macro doesn't work

    Are you sure the Excel version is the only thing different? You mean it worked on some particular computer with Excel 2007 and now with the same computer upgraded to Excel 2010 it no longer works? What are all the variables? It appears to be getting files over a network, which I haven't done in VBA, but the node descriptor looks odd to me, looks like a URL rather than a network node. Usually it would look like "\\IMAGE_SERVER" or "http://company.domain.com" but you have a sort of mash-up. On the computer where it doesn't work, if you just o to Windows can you navigate to the machine named in the VBA code?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-10-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro doesn't work

    Hi Jeff and thank you for your reply.

    What I meant is that it works as expected on all computers with Excel 2007 and not working on all computers with Excel version higher than 2007.
    It does take the images from a folder on a web server in our DMZ and all internal client computers have access to.
    Yes, I just clicked on the actual UNC that is in the macro and it opened the folder with all the images.

    Like I said, I'm not a programmer or developer or even an advanced Excel user and the person who did is no longer with the company.

    Thank you for your help,

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Macro to retrieve files over network stopped working

    Can you define "not working"? Does it do nothing, or produce an error message? If the latter, what is the message? Unfortunately I do not have an environment where I can readily reproduce your exact situation.

  5. #5
    Registered User
    Join Date
    04-10-2014
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to retrieve files over network works on Excel 2007 but not with Excel 2010 or 20

    With Excel 2007, it pulls the images and when the file is sent out of the network (where users' computers have access to the folder where the image files are stored) the receivers of those Excel files are able to see all the images.

    With Excel 2010, it pulls the images but if the file is sent or otherwise transferred to a client, they are not able to see the images.

    With 2013, it doesn't even pull the images.

    Thank you,

+ Reply to 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 work in personal workbook, doesn't work in other workbooks
    By Centexcel in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-30-2013, 11:47 AM
  2. [SOLVED] Macro Doesn't Work Through Button, Does Work Through Developer ->Macros Option
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2013, 11:55 AM
  3. Macro doesn't work
    By liorhen9 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-29-2012, 09:11 AM
  4. Macro SOMETIMES doesn't work
    By jreimer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2008, 11:06 AM
  5. [SOLVED] why doesn't macro work?
    By Alen32 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-13-2005, 01:06 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