Closed Thread
Results 1 to 5 of 5

[EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

  1. #1
    Registered User
    Join Date
    11-20-2012
    Location
    cameo trembled
    MS-Off Ver
    Excel 2010
    Posts
    8

    [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

    Hi.

    I am fairly new to VBA.

    I created a VBA code in Excel 2007 to automatically open and copy data from a workbook located on a network drive into an existing workbook. The name and location of the network worbook was specified in cells in the existing workbook (See below). It worked perfectly fine in 2007, but after upgrading to 2010 I get the error that the network worbook can not be found. I have checked that all file type specifications are correct (e.g. .xls and .xlsx. and the location of the newtwork has not changed. My guess is that it the code simply doesn't work in the new version, but how should it be changed then.

    Thank you so much

    My code

    Please Login or Register  to view this content.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

    Please upload the workbook or a representative cut down copy, anonymised if necessary. It is always easier to advise if we can see your request in its context.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-16-2012
    Location
    Sheffield
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

    As above without more info its difficult to see exactly whats happening,

    However, if (restrictions permitting) all involved workbooks could be changed to the .xls format from .xlsm/.xlsx I've found that often fixes problems. So it may be worth trying.

    Andy

  4. #4
    Registered User
    Join Date
    11-20-2012
    Location
    cameo trembled
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

    Thank you very much for your help. It is much appriciated. Unfortunately, due to strict security policy at work, I can't provide a copy of the workbook.

    However I think another user provided a solution in this thread, so I'm trying to go with that.

    HTML Code: 

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: [EXCEL] Open and copy from workbook specified in existing cells / 2010 upgrade problem

    duplicate thread so locked
    Josie

    if at first you don't succeed try doing it the way your wife told you to

Closed 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