+ Reply to Thread
Results 1 to 3 of 3

code stops at Update Links, will not let Application Run

  1. #1
    Forum Contributor
    Join Date
    12-11-2010
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    118

    code stops at Update Links, will not let Application Run

    Hello,
    I have received a lot of good advise and help on this forum.
    Attached you will find the workbook that is testing my basic understanding of VBE.
    The code runs up until the line
    Please Login or Register  to view this content.
    It highlights this line, and will not proceed with the request of:
    Please Login or Register  to view this content.
    I have tried to search through the help functions for the "UpdateLinks", but can not find a solution to my problem.
    The workbook does open, but that is as far as it goes.
    I am asking for help, as I seem to be stuck and tried other solutions (in a copy of this workbook) to get the code working, but only made it worse.
    So I am back with the original workbook, that at least opens at the specified time of day.
    If I can only get it to run the requested application after opening, I would be very happy.
    I do not understand the UpdateLinks command, nor the number behind it, are those the amount of worksheets, cells...?
    Your help is as always much appreciated.
    Thank you
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor bulina2k's Avatar
    Join Date
    11-20-2012
    Location
    Urziceni, Ialomita, Romania
    MS-Off Ver
    2019 and 365
    Posts
    867

    Re: code stops at Update Links, will not let Application Run

    hi there:

    You can specify one of the following values in the UpdateLinks parameter to determine the delimiter character for the file:
    Value Meaning
    1 User specifies how links will be updated
    2 Never update links for this workbook on opening
    3 Always update links for this workbook on opening

    From here: https://msdn.microsoft.com/en-us/lib...ice.12%29.aspx
    .. and don't forget to have fun!
    Bogdan.

    mark SOLVED and Add Reputation if my answer pleases you

  3. #3
    Forum Contributor
    Join Date
    12-11-2010
    Location
    Indiana, USA
    MS-Off Ver
    Excel 2007
    Posts
    118

    Re: code stops at Update Links, will not let Application Run

    Thank you, Thank you, Thank you!
    I marked this thread as solved, because you have answered my request with the solution.
    I have tried the "3" before, without success. However - I do not have access to the software that the files are linked to (DUH on my side for forgetting that).
    The workbook will be handed over to the requestor, that runs the software for this machine on his desktop.
    For any other issues that may arrise, I will post another thread for help

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Code to update links after set period of time?
    By boredombulker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2015, 02:07 PM
  2. [SOLVED] VBA code to skip update links
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-03-2012, 05:08 AM
  3. VBA Code to update links automatically
    By anandvh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2012, 02:49 PM
  4. VBA Code to update powerpoint links
    By Mukesh Sajjan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-21-2011, 05:24 AM
  5. VB Code to Update All Links in Workbook
    By nofzinger in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-17-2009, 02:58 PM

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