Closed Thread
Results 1 to 2 of 2

changing a code

  1. #1
    Registered User
    Join Date
    06-15-2009
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    changing a code

    hi all, is there any way changing the "ActiveWorkbook.UpdateLink" to "ActiveSheet.UpdateLink"? This command must be wrong, it gives error. How can I correct this? This is to update links only on a particular sheet (active one) rather then updating the whole workbook.
    Thanks


    Sub update()
    '
    ' update Macro
    '

    '
    ActiveWorkbook.UpdateLink Name:= _
    "C:\Documents and Settings\Alper\Desktop\Excel\source.xls", Type _
    :=xlExcelLinks
    End Sub

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: changing a code

    Please take the time to read the forum rules before posting further.


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed 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