+ Reply to Thread
Results 1 to 5 of 5

Automatically Copy contents of cell to another worksheet?

  1. #1
    Registered User
    Join Date
    04-24-2007
    Posts
    32

    Automatically Copy contents of cell to another worksheet?

    Hello,

    I have two worksheets. In worksheet called 2008 I have column A which is populated with peoples names. When I enter a name in this column I would also like the contents of this cell to be copie to column A in worksheet 2.

    Currently I am using the formula ='2008'!A4 and so on. The trouble is that for the balk rows in column A in worksheet 2 instead of the cells being blank I have a "0" showing.

    Is there a function or any way to automatically populate the contents (as I am already) but if the cell is empty for nothing to be displayed?

    Any help would be much appreciated please.

    Kind regards.

    Paul

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    Check out this thread ,
    change sheet names and ranges as required
    http://www.excelforum.com/showthread.php?t=591047

  3. #3
    Registered User
    Join Date
    04-24-2007
    Posts
    32
    Quote Originally Posted by davesexcel
    Check out this thread ,
    change sheet names and ranges as required
    http://www.excelforum.com/showthread.php?t=591047
    Thanks Dave,

    This is giving me a good start (although I have to confess that I do not know much about using VB.

    So, how do I use this code without sortng and also to include columns B and C from sheet1 as well? I used the code and got it sort of working so would just like to refine it a little if possible to get rid of the sort and also to add in columns B and C as well.

    Thanks ever so!!

  4. #4
    Registered User
    Join Date
    04-24-2007
    Posts
    32
    Here is my latest attempt at the VB Code..........

    Please would you be kind enough to see if this will copy the contents of Columns A, B and C from sheet 1 to sheet 2?

    Please Login or Register  to view this content.
    First time I have ever tried to amend / write anything in VB. It's great!!
    Very many thanks.

    Paul
    Last edited by VBA Noob; 01-26-2008 at 08:35 AM.

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481
    This will work, After you change a value in column C , range(A:C) on the active row will be copy and pasted to the first empty cell after the last entry in column 1 sheet 2
    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)

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