+ Reply to Thread
Results 1 to 4 of 4

Macro to copy/paste and replace info to another part of a sheet

  1. #1
    Registered User
    Join Date
    11-10-2014
    Location
    Kauai, Hawaii
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    6

    Macro to copy/paste and replace info to another part of a sheet

    Hi!

    I am building a worksheet to help the farm that I work on to track progress on various tasks and I need the help of the folks on this forum that are much smarter than I am.

    Per the screenshot, you'll see that I have folks enter various information and what I would like to happen is that they click 'Submit' and that data gets pasted over in the HISTORY side of the sheet in reverse chronological order - the newest info will be at the top.

    There are various Data Validation dropdowns and, in some cases, I want to replace a 'Y' chosen in a dropdown for what that "Yes" represents.

    A 'Y' in F6 = "Pau"
    'Y' in K6 = "Broadfork"
    'Y' in L6 = "Torch"
    'Y' in M6 = "Tilth"
    'Y' in N6 = "Compost"
    Also, Z5 will always be whatever 'Entry Type' is in B3

    If columns are left blank (either because they're hidden or because that info wasn't entered), I would not like to paste a clear cell. I would rather only have the shortest number of cells in a row that are needed, even if the data in each column changes from row to row in the HISTORY section. The data is self-explanatory, so it shouldn't make a difference.

    Finally, I already have some code in the sheet to hide certain columns based on the 'Entry Type' chosen and also to clear contents and update to today's date when 'Entry Type' gets changed. I've included that code below.

    This seems like a pretty complex request (to me, at least :-), so I greatly appreciate any assistance any of you can provide!

    Many Thanks,
    Greg

    Screen Shot 2014-11-11 at 4.17.20 PM.jpg

    Please Login or Register  to view this content.
    Attached Images Attached Images
    Last edited by GregHorn27; 11-11-2014 at 11:10 PM.

  2. #2
    Registered User
    Join Date
    11-10-2014
    Location
    Kauai, Hawaii
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    6

    Re: Macro to copy/paste and replace info to another part of a sheet

    One more screenshot to show when almost all of the rows are shown

    Screen Shot 2014-11-11 at 5.14.25 PM.jpg

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,516

    Re: Macro to copy/paste and replace info to another part of a sheet

    Attaching screenshots means that people willing/able to help need to create their own workbook.
    I think that you'll get responses if you attach a sanitized workbook with a clear explanation and a before and after in it.

  4. #4
    Registered User
    Join Date
    11-10-2014
    Location
    Kauai, Hawaii
    MS-Off Ver
    MS Excel for Mac 2011
    Posts
    6

    Re: Macro to copy/paste and replace info to another part of a sheet

    Forgive me jolivanes, but what do you mean by a sanitized workbook? Also, was my explanation not clear enough? If not, what other info do you think I should provide? Finally, before and after what?

    As you can see, I'm a bit confused. Attached is the workbook.

    Thanks for the guidance!

    Farm Logbook.xlsm

+ 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. [SOLVED] Excel Command Button Macro to ask for Part # and update another sheet with info
    By dka5034 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-14-2013, 08:36 AM
  2. Sheet code to copy & paste a new row of Info to another sheet
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 05:31 PM
  3. Copy & paste PART of cell to new sheet
    By enswitze in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-03-2010, 03:30 AM
  4. How can I copy and paste info from one sheet to another via macro
    By jamie.c in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-09-2009, 08:48 AM
  5. How to copy/paste info into the protected sheet
    By Dajana in forum Excel General
    Replies: 1
    Last Post: 09-21-2005, 12:05 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