+ Reply to Thread
Results 1 to 5 of 5

Links between workbooks

  1. #1
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142

    Links between workbooks

    Hi,
    I would like to have a code to update a database, but not just copying and pasting the values, I would like to create a link between the source workbook and the database workbook.
    The reason for the link is tha tin the source the user can change a value that affect the values in the database.
    I already make the code to update the database, but I just manage to copy and paste values, but not make the link
    so I'd really appreaciate your help in this toppic
    Many thanks in advance
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-18-2008
    Location
    India
    Posts
    68

    Links between workbooks

    Hi,

    If you wish to link a cell in one workbook to another cell in the other workbook
    the the following code will help.

    Please Login or Register  to view this content.
    It can be put in a loop to link each cell.

  3. #3
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142
    HI, many thanks for the suggestion, base on that I made this code, but take ages to run to the end.
    Any help or Idea how to speed up?

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142
    Just an additional information, the problem with this code is that the link is generated cell by cell, so there is anyway to improve that and make the links all at once?
    I really appreaciate any help on this
    regards

  5. #5
    Forum Contributor
    Join Date
    06-15-2007
    Location
    Scotland
    Posts
    142
    Hi, I made some modifications to the code and now speed is much better.
    so if anybody needs to make links between workbooks in a old fashioned way, this code can be used.
    If somebody else knows how to do it in a more efficient way, please let me know.
    Regards

    Please Login or Register  to view this content.

+ 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. Breaking links between workbooks VB
    By garfield185 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2008, 04:29 AM
  2. Breaking Links Between Workbooks
    By longfisher in forum Excel General
    Replies: 6
    Last Post: 03-07-2008, 10:10 AM
  3. Relative links between workbooks
    By Glio in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2007, 12:04 PM
  4. Links to other workbooks:cell reference
    By Bru86 in forum Excel General
    Replies: 1
    Last Post: 08-24-2007, 06:02 PM
  5. Automatically update links to other workbooks
    By krabople in forum Excel General
    Replies: 0
    Last Post: 10-09-2006, 08:31 AM

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