+ Reply to Thread
Results 1 to 9 of 9

Macro to copy record into another sheet

  1. #1
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Angry Macro to copy record into another sheet

    I have a sheet called SKU Master.

    I want that whenever I enter a new record into the SKU master sheet depending on if I choose the factory as NC it should copy that record over into the NC sheet.
    I want that whenever I enter a new record into the SKU master sheet depending on if I choose the factory as SC or SCO it should copy that record over into the SC sheet.
    Also I want it to verify that the information in SKU master if it is different for other existing record it should update on the appropriate sheet.

    So for e.g SKU 345678 length in ft (column G) is 6 if I update that to 9 it should get updated in SC sheet as 9. I want this Data check to happen for all fields in the header.
    Ideally I would like to have a Command Button(shaded light blue) called "Update" in Cell A1 and when I click the button I would like the above updates to happen.

    Essentially I want to update the data only in one place and then have the other two sheets feed the data from here so that I don't have to enter it again.

    Any help is appreciated .
    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Macro to copy record into another sheet

    Hi,

    Try this:
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Macro to copy record into another sheet

    This works great !! Thank you!
    I do have a question though how can I see the code in the sheet?

  4. #4
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Macro to copy record into another sheet

    If you hit Alt+F11 it takes you to the VBA viewer

  5. #5
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Macro to copy record into another sheet

    I just noticed one thing and maybe its a quick change SC and SCO are supposed to be in same sheet.Not separate sheets .

  6. #6
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Macro to copy record into another sheet

    Do you think you can make that change ? SC and SCO go into the same sheet.

  7. #7
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Macro to copy record into another sheet

    Hi,

    Sure, that won't be a problem. I'll get back to you tomorrow when I'm at the office if someone else hasn't answered you by then.

  8. #8
    Forum Contributor
    Join Date
    04-25-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Macro to copy record into another sheet

    Hi,

    Here's an update
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    08-22-2013
    Location
    columbus,oh
    MS-Off Ver
    Office 365
    Posts
    190

    Re: Macro to copy record into another sheet

    Thank you!!

+ 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. VBA for copy record to sellected 2 sheet & clear entry sheet for new record
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-24-2012, 10:54 PM
  2. Copy record to new sheet on cell value change
    By rjpace in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-27-2012, 09:50 AM
  3. Macro to record sheet PDF
    By Flash_Azul in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-02-2011, 09:41 AM
  4. Copy one record with subdata (Form Sheet) to Database Sheet (Collection)
    By vrgiloilo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-27-2011, 01:12 AM
  5. Copy data to other sheet + Loop to last record
    By jantonio in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2010, 04:00 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