+ Reply to Thread
Results 1 to 9 of 9

Adding same data to multiple sheet

  1. #1
    Registered User
    Join Date
    10-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Adding same data to multiple sheet

    Hi all, I'm new here and would like to request some help if possible.
    I have one sheet in Excel that contains User, Location and Quantity. I already have macros that adds the information into Sheet1. I would like to copy the contents of the User and Quantity automatically when my code is running. I tried over and over with other methods and have failed miserably. Thank in advance
    Please Login or Register  to view this content.
    Last edited by Johnnyb827; 10-21-2010 at 10:16 PM. Reason: Added Code Tags

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding same data to multiple sheet

    Hi Johnnyb827

    From your description, I'm unable to visualize what you have or what you'd like it to be. You'll be best served to post what you have (including code) with an example of what you wish it to be.

    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    10-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding same data to multiple sheet

    I've attached the Excel file that I've been using so far. Basically when the macro runs, the Type, Location and Quantity should be added in Sheet1 and Sheet2. I just can't get it to write to Sheet2 simultaneously. Thanks in advance
    Attached Files Attached Files

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding same data to multiple sheet

    Hi Johnnyb827

    Type, Location and Quantity should be added in Sheet1 and Sheet2
    Your Sheet2 doesn't have a Quantity field. Getting Type and Location to Sheet2 shouldn't be a problem.

    I'll work on this...but where in Sheet2 should Quantity go?

    John

  5. #5
    Registered User
    Join Date
    10-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding same data to multiple sheet

    Thanks for the reply. Quantity should go between Location and Date Borrowed.

  6. #6
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding same data to multiple sheet

    Hi Johnnyb827

    I've tested this on your sample file but, due to the late hour, not extensively. It worked on several iterations.
    Please Login or Register  to view this content.
    Let me know of issues.

    John

    PS: Be sure to add the Quantity field in Sheet2
    Last edited by jaslake; 10-21-2010 at 08:56 PM.

  7. #7
    Registered User
    Join Date
    10-21-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Adding same data to multiple sheet

    Thanks! That worked like a charm. Thanks again for your help :D

  8. #8
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding same data to multiple sheet

    Hi D

    Glad it works for you. If your issue is solved, please mark it as such. A tip of the scales is always appreciated.

    John

  9. #9
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Adding same data to multiple sheet

    Hi D

    Please change these lines of code from
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    It probably will not make a difference unless things get "Out of Sync"

    John

+ 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