+ Reply to Thread
Results 1 to 26 of 26

slow replace function

  1. #1
    Registered User
    Join Date
    07-05-2005
    Posts
    5

    slow replace function

    I have excel sheet which has lots of links to other workbooks. The links need to be updataed every week.

    For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3" should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to use the "replace" function to replace "0626" with "0703". It works if there are only a few links to update. However, it takes forever if there are hundreds of links. I don't know why the replace function is so slow in Excel. I did try to turn off the auto calculation, but it doesn't help. Anybody knows a faster way to do such update?
    Thanks a lot!

  2. #2
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  3. #3
    Registered User
    Join Date
    07-05-2005
    Posts
    5
    Thanks, ScottO!
    I did try to do the replace while both files are open. But it doesn't help. At least for me.

  4. #4
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  5. #5
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  6. #6
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  7. #7
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  8. #8
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  9. #9
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  10. #10
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  11. #11
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  12. #12
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  13. #13
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  14. #14
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  15. #15
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  16. #16
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  17. #17
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  18. #18
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  19. #19
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  20. #20
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  21. #21
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  22. #22
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  23. #23
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  24. #24
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  25. #25
    ScottO
    Guest

    Re: slow replace function

    Have you tried doing the "replace" when both OldFile & NewFile are open?
    I think that will speed things up.
    Rgds,
    ScottO

    "hiwan99" <[email protected]> wrote in message
    news:[email protected]...
    |
    | I have excel sheet which has lots of links to other workbooks. The links
    | need to be updataed every week.
    |
    | For example: a cell linked to "c:\0626\[xx_0626.xls]'sheet0626'!A3"
    | should be updated to "c:\0703\[xx_0703.xls]'sheet0703'!A3". I tried to
    | use the "replace" function to replace "0626" with "0703". It works if
    | there are only a few links to update. However, it takes forever if
    | there are hundreds of links. I don't know why the replace function is
    | so slow in Excel. I did try to turn off the auto calculation, but it
    | doesn't help. Anybody knows a faster way to do such update?
    | Thanks a lot!
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile: http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



  26. #26
    ScottO
    Guest

    Re: slow replace function

    Maybe your CPU's battling a large calculation overhead. Try switching to
    manual calculation before the replace.
    ScottO

    "hiwan99" <[email protected]> wrote in
    message news:[email protected]...
    |
    | Thanks, ScottO!
    | I did try to do the replace while both files are open. But it doesn't
    | help. At least for me.
    |
    |
    | --
    | hiwan99
    | ------------------------------------------------------------------------
    | hiwan99's Profile:
    http://www.excelforum.com/member.php...o&userid=24936
    | View this thread: http://www.excelforum.com/showthread...hreadid=384722
    |



+ 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