+ Reply to Thread
Results 1 to 9 of 9

Mirror or link cell to source cell when copying between sheets.

  1. #1
    Registered User
    Join Date
    09-16-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    6

    Mirror or link cell to source cell when copying between sheets.

    Here's the challange:

    There is a macro that selects rows form active worksheet (base on one column content) and copy them into worksheet named Action Tracker. In addition also copying text from source sheet cell C4 into each newly copied row (column A).

    Macro by Solus Rankin (many thanks!) goes like this:

    Please Login or Register  to view this content.
    What I am after is when making changes to the newly copied cells, those changed would be reflected in the source cells...and as an option vice versa. Another trick is that there is many source worksheets (named 1,2,3,4....).

    I've got a feelling this is possible, however my VBA workshop is less than elementary So many ideas, music in my head...so what, while you dont know your instrument


    Moderator Note:

    Pls use code tags around your code next time as per forum rules.
    Last edited by Fotis1991; 09-17-2013 at 07:22 AM.

  2. #2
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Mirror or link cell to source cell when copying between sheets.

    Maybe
    Please Login or Register  to view this content.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

  3. #3
    Registered User
    Join Date
    09-16-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mirror or link cell to source cell when copying between sheets.

    Nope, does not accept Link:=True at all

  4. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Mirror or link cell to source cell when copying between sheets.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    09-16-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mirror or link cell to source cell when copying between sheets.

    Hello and thanks for reply, really appreciate your help. The last code did something different from the original one, but not quite the right direction.

    The best if I attach the file.

    So this is what it suppose to do:

    1. There is a macro that imports data from MS project and puts it in the new worksheets that is based on worksheet named "Template". Those new worksheets are named 1,2,3,4...and so on, representing data by "Event" - stated in cell C4 of each 1,2,3,4.. worksheet.
    2. Now, for each worksheet (Event) work is done to "Description, Lessons and Actions:" section, then entries ticked of in column J are transfered to "ACTION TRACKER" worksheet by clicking on Transfer button. (code in Module2).
    3. Once transferred, entries will be modified in "ACTION TRACKER" and the main feature would be to mirror all those changes in orginal, source worksheets. Ideally if this could work both ways.

    As for now transfer works ok, only data validation is lost.

    PS
    If anyone wants to undertake this task, and can help me in developing this tool further, I am willing to grant a bonus
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Mirror or link cell to source cell when copying between sheets.

    Regarding your PS, i'd like to inform you that you can if you like to use the Commercial Service Sub forum. Take a look to this.

    http://www.excelforum.com/the-water-...-services.html
    Last edited by arlu1201; 09-18-2013 at 08:23 AM. Reason: Added Water cooler URL
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Mirror or link cell to source cell when copying between sheets.

    I think I understand what you're trying to do. I don't think you want to link, if items are 'cleared' from ACTION TRACKER they will be deleted from the original sheet if they are link.

    I think you will have a better time passing the line to the ACTION TRACKER, editing it and passing it back to the original sheet when edits are complete.

  8. #8
    Registered User
    Join Date
    09-16-2013
    Location
    Norway
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Mirror or link cell to source cell when copying between sheets.

    Yes, that would do. One potential problem I see in this case, what would happen to all the entries that were not transferred in the first place? Maybe if we sort entries just before transferring putting them on top of the list? In this way number of rows would match.
    The challenge form me now is a macro that would find the right worksheet to copy entries back Guess base on Event
    In my mind it would scan through all tabs searching fo Event in C4 cell?

  9. #9
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Mirror or link cell to source cell when copying between sheets.


+ 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. Replies: 2
    Last Post: 07-14-2006, 01:20 AM
  2. Use a cell's value to set the source file name in link
    By Lost in Parsippany in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 PM
  3. Use a cell's value to set the source file name in link
    By Lost in Parsippany in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Link cell show zero when source cell is blank
    By Phil Hageman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2005, 08:05 PM
  5. [SOLVED] Using paste link infromation in cell to hyperlink to source cell?
    By Wayne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-27-2005, 04:06 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