+ Reply to Thread
Results 1 to 7 of 7

PLEASE help with Excel links!

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    PLEASE help with Excel links!

    I have several worksheets (1 to 5) which contain different quotations on each one by other colleagues. I want to create one spreadsheet (master) which has all 5 together on seperate tabs. However, the 5 worksheers are updated and added to daily. How do you put them all together on one worksheet so that they update when the original documents are added to and updated? So then we wouldnt have to copy and paste from the original spreadsheets to the master everytime. Do i need to use Macros to do this?

    Hope this makes sense.
    Any help would be muchly appreciated.
    Thanks
    Last edited by starkey93; 07-06-2012 at 09:14 AM.

  2. #2
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: PLEASE help with Excel links!

    Are the five sheets sitting in just one folder somewhere on your network?

    Easy to do, can you provide examples?
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    07-06-2012
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: PLEASE help with Excel links!

    they are sat in their own folder on our company network.

    So, the spreadsheets are called: John Quotations, Andrew Quotations, Steve Quotations, Sam Quotations, Andi Quotations. And i want all 5 of them to be on one spreadsheet (Master Quotations) under a different tab for each but then also updates automatically from the origianals when added to

  4. #4
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: PLEASE help with Excel links!

    Ok, give this a try (attached). You will need to enable macros, there is a button to launch the LoopDirectory macro below.

    This is one way to do it.
    NOTE:
    **This will just grab the Sheet1 from each persons sheet, if you need more than the first worksheet this would need to be changed.
    **Assumes the data sits in a table and that the table's upper-left corner is Cell A1.
    **You will have to edit the macro to include your OWN PATH to the files where declare the value of the myPath variable.


    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by GeneralDisarray; 07-06-2012 at 10:27 AM.

  5. #5
    Registered User
    Join Date
    07-06-2012
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: PLEASE help with Excel links!

    thanks, i'll give it a go and report back

  6. #6
    Registered User
    Join Date
    07-06-2012
    Location
    Leeds, England
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: PLEASE help with Excel links!

    hello, i finally got around to trying this. I have done what i think is right on this but it keeps producing this error (see attachment for the screenshot). Any ideas on what i am doing wrong?

    Thanks!
    Attached Files Attached Files

  7. #7
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: PLEASE help with Excel links!

    Looks like your path, i think you need to remove the \ from the end.

    Notice, the CurrentFileName = DIR(myPath & Application.PathSeparator & "*.xls*") This line places a back-slash between the path and file name.

    Application.PathSeparator = "|" on a mac and "\" on a windows box, so you don't need the back-slash at the end of your path definition.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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