+ Reply to Thread
Results 1 to 7 of 7

Macro to move data from an input form to a datalog worksheet

  1. #1
    Registered User
    Join Date
    03-20-2012
    Location
    LA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Macro to move data from an input form to a datalog worksheet

    I need a macro that will copy multiple individual cells to a data log sheet that doesn't require that all of the cells have content. In the code below when I add all of the cells to "mycopy" I get an error. In the attachment the cells that won't work are outlined in red.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Macro to move data from an input form to a datalog worksheet

    looks to me that the red boxes are a problem because if there is an x in Use As Is for Procurement, it should give you Use As Is on your DataLogECN sheet in Column Q, if Rework then Rework, if Scrap then Scrap.

    what you need to do is tell excel to look at those lines with something like
    Please Login or Register  to view this content.
    here's the whole code that fixes the Disposition of Materials section (the first red box)
    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Macro to move data from an input form to a datalog worksheet

    i'm not sure what is supposed to be coming out of the Drawings affected section? there is a Drawings 2 column (col T) on the DataLogECN page but it is too small to have any meaningful information

  4. #4
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Macro to move data from an input form to a datalog worksheet

    ECN FORM - Copy.xlsm

    i fixed everything except the drawings affected, since i didn't know what you were looking for in that section

    let me know if you need anything changed?

  5. #5
    Registered User
    Join Date
    03-20-2012
    Location
    LA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro to move data from an input form to a datalog worksheet

    Thank You very much I'll review it shortly and the drawings are an revision upgrades such as "A" to "B"

  6. #6
    Registered User
    Join Date
    03-20-2012
    Location
    LA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro to move data from an input form to a datalog worksheet

    Scott,
    Can we remove the "MsgBox" statement and move the range of cells to "MyCopy" so that the "ClearContents" would clear the entire form?

  7. #7
    Registered User
    Join Date
    03-20-2012
    Location
    LA
    MS-Off Ver
    Excel 2007
    Posts
    32

    Re: Macro to move data from an input form to a datalog worksheet

    Scott here is what I finished with but I still don't like the double set of code at the end is there a way to combine them?

    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