+ Reply to Thread
Results 1 to 25 of 25

Edit links to external worksheet

  1. #1
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Edit links to external worksheet

    Hi
    I'm using excel 2010 and I've created a series of pivot tables in a new workbook from another workbook. I want to move these these worksheets to another computer but because they are now in different folders I can't refresh the data without editing the links. However my edit links function is grayed out and the only other way I can see is to edit all of them individually through connections or properties. Is there a way of making the edit links function work or another fast way of updating links? Any help appreciated. Thanks.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    I am confused whether you are talking about Pivot Table Data Source (Alt+J+T+I+D) or Edit Links (Alt+E+K)?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Ok the edit links I'm referring to is under the connections on the data menu. The pivot tables were created by get external data from other sources/microsoft query/excel files - then selecting the file and worksheet and columns. I'm hoping that edit links will do a fast reconnect to my data workbook.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Not sure what your query is?

  5. #5
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    my edit links is grayed out. I can't work out why.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Please show a screenshot if possible

  7. #7
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Here's a screenshot
    Attached Files Attached Files

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Thanks for the screen shot

    Edit Links button will be accessible when you have FORMULA REFERENCES to other WORKBOOKS

  9. #9
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    so what you're saying is "Get External Data" using microsoft query to get data from another excel workbook might not be treated as external links.

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Yes exactly, only formula's to other workbooks alone shown in Edit Links and Get External Data is related with Pivot.

  11. #11
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Thanks now I understand. One more question though, if I'm using get external data to create pivot tables etc, is there a fast way to update the links when I move the source workbook to another folder. At the moment the only way I can see is manually going through each connection and changing the path to the new location.

  12. #12
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Using VBA code you can do it in a single click

  13. #13
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    I would really appreciate some help on this.

  14. #14
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Surely but please explain whether it needs to be changed (External Location Reference) to all the pivot Table's in the active workbook or activesheet pivots?

    Whether it needs to be applied to specific pivots based on any identification?

  15. #15
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    exactly right, external location reference for all pivot tables in the active workbook is what needs to be changed. Everything else remains the same.

  16. #16
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Thanks for the confirmation but now i am away from office and back to work on monday only. So i will give reply by monday if your query remains unsolved.

  17. #17
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Thanks for your recent help on this. Will you be able to help me with VBA code?

  18. #18
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Copy and paste the below code in a Standard module and run it

    Please Login or Register  to view this content.

  19. #19
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Test.zip

    I'm not sure if I have done this correctly. The zip file attachment has 2 files. The report file has the pivot tables and gets its data from the data file. Could you test it please.

  20. #20
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Refer the below link for details:-

    http://www.contextures.com/xlvba01.html

  21. #21
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Macro Error.docx

    Thanks again for your help on this. I watched the video the web link and think I have done it correctly but it's still stopping with an error. See the attached error, I'm sorry to keep bothering you. Regards

  22. #22
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Run Time Error.docx

    I have just up loaded the runtime error as well which may help you.

  23. #23
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Download Pivot Play Plus Addin from the below link and read the contents to know about how to use it
    http://www.contextures.com/xlPivotPlayPLUS01.html

  24. #24
    Forum Contributor myobreportguru's Avatar
    Join Date
    09-18-2012
    Location
    Brisbane, Australia
    MS-Off Ver
    Excel 2016
    Posts
    231

    Re: Edit links to external worksheet

    Thanks I've dowloaded that and I can now change the source data connection. Appreciate your help.

  25. #25
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Edit links to external worksheet

    Glad it helps you and thanks for the feedback

+ 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