Results 1 to 9 of 9

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

Threaded View

mortless Mirror or link cell to source... 09-17-2013, 07:14 AM
Solus Rankin Re: Mirror or link cell to... 09-17-2013, 08:01 AM
mortless Re: Mirror or link cell to... 09-17-2013, 08:53 AM
Solus Rankin Re: Mirror or link cell to... 09-17-2013, 09:56 AM
mortless Re: Mirror or link cell to... 09-18-2013, 05:24 AM
Fotis1991 Re: Mirror or link cell to... 09-18-2013, 08:15 AM
Solus Rankin Re: Mirror or link cell to... 09-18-2013, 08:47 AM
mortless Re: Mirror or link cell to... 09-18-2013, 09:08 AM
Solus Rankin Re: Mirror or link cell to... 09-18-2013, 09:50 AM
  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:

    Sub TransterToAT()
    
    Dim cel As Range
    
    For Each cel In Range("J1:J" & Range("J" & Rows.Count).End(xlUp).Row)
        If cel.Value = "a" Then
            Range("A" & cel.Row & ":I" & cel.Row).Copy
            With Sheets("ACTION TRACKER")
                .Range("A" & .Range("A" & Rows.Count).End(xlUp).Offset(1).Row).Value = ActiveSheet.Range("C4").Value
                .Range("B" & .Range("B" & Rows.Count).End(xlUp).Offset(1).Row).PasteSpecial
            End With
        End If
    Next cel
    
    Application.CutCopyMode = False
    
    End Sub
    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.

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