+ Reply to Thread
Results 1 to 5 of 5

A macro to update links

  1. #1

    A macro to update links

    I have a file (a) that has links to another file (b) which is in a
    defined format.

    Each month this file (b) is updated and renamed file (c) and it is now
    this most current version of the file that file (a) needs to link to

    Is there a macro that can be run to update link names?

    I am quite a novice so would appreciate the code.


  2. #2
    llama
    Guest

    Re: A macro to update links

    Clare,

    What kind of links do you have from file a to file b?


  3. #3
    theaccountant
    Guest

    Re: A macro to update links

    Thanks for the question

    Currently the link is a cell saying

    ='S:\FILE\Finance\06 June\[0606MainSchedules FINAL.xls]I&E
    Summary'!$P$10

    (File b = [0606MainSchedules FINAL.xls])

    I wanted to be able to write a macro that enables me to link to the
    next months file automatically, so for month 7 it will be as below

    ='S:\FILE\Finance\07 July\[0706MainSchedules FINAL.xls]I&E
    Summary'!$P$10

    I had thought I would be able to require users to complete of 2 cells -
    1 with the old link and 1 with the new link to be updated to & then run
    a macro so change the links (these could be populated from a drop down
    list)

    Unfortunately I'm having trouble recording such a macro

    llama wrote:
    > Clare,
    >
    > What kind of links do you have from file a to file b?



  4. #4
    theaccountant
    Guest

    Re: A macro to update links

    Thanks for the question

    Currently the link is a cell saying

    ='S:\FILE\Finance\06 June\[0606MainSchedules FINAL.xls]I&E
    Summary'!$P$10

    (File b = [0606MainSchedules FINAL.xls])

    I wanted to be able to write a macro that enables me to link to the
    next months file automatically, so for month 7 it will be as below

    ='S:\FILE\Finance\07 July\[0706MainSchedules FINAL.xls]I&E
    Summary'!$P$10

    I had thought I would be able to require users to complete of 2 cells -
    1 with the old link and 1 with the new link to be updated to & then run
    a macro so change the links (these could be populated from a drop down
    list)

    Unfortunately I'm having trouble recording such a macro

    llama wrote:
    > Clare,
    >
    > What kind of links do you have from file a to file b?



  5. #5
    llama
    Guest

    Re: A macro to update links

    I have sent an example file to your hotmail account. Hope it helps
    Paul

    theaccountant wrote:
    > Thanks for the question
    >
    > Currently the link is a cell saying
    >
    > ='S:\FILE\Finance\06 June\[0606MainSchedules FINAL.xls]I&E
    > Summary'!$P$10
    >
    > (File b = [0606MainSchedules FINAL.xls])
    >
    > I wanted to be able to write a macro that enables me to link to the
    > next months file automatically, so for month 7 it will be as below
    >
    > ='S:\FILE\Finance\07 July\[0706MainSchedules FINAL.xls]I&E
    > Summary'!$P$10
    >
    > I had thought I would be able to require users to complete of 2 cells -
    > 1 with the old link and 1 with the new link to be updated to & then run
    > a macro so change the links (these could be populated from a drop down
    > list)
    >
    > Unfortunately I'm having trouble recording such a macro
    >
    > llama wrote:
    > > Clare,
    > >
    > > What kind of links do you have from file a to file b?



+ 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