+ Reply to Thread
Results 1 to 3 of 3

Excel - macro to loop through row data and copy cell to each worksheet in the workbook

  1. #1
    Registered User
    Join Date
    04-19-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Excel - macro to loop through row data and copy cell to each worksheet in the workbook

    Hi

    I hope someone can help. I am looking for a macro that can loop through column A and look for the the cell value beginning with "275X" and then copy the cell values in column A to each worksheet in the workbook.

    So if column A has 275X105 in A6 and 275X112 in A7 then worksheet 2 cell B3 should be updated to say 275X105 and worksheet 2 cell B3 will have 275X112 and so on and so forth.

    Many thanks all in advance.

    S

  2. #2
    Forum Contributor
    Join Date
    01-07-2013
    Location
    south africa
    MS-Off Ver
    Excel 2003-13
    Posts
    210

    Re: Excel - macro to loop through row data and copy cell to each worksheet in the workbook

    Hello
    Your destination seems to be the same place. Do you rather mean 275x105 in sheet 2 and 275x112 in sheet 3 ?
    Is it always the same cell (B3), just on a new sheet
    What if there are more 275x values then worksheets ?
    Is the order sequential, i.e. 1st matched value is copied to sheet 2; 2nd value to sheet 3, etc.

    Regards
    Most helpful to mark solved items as such (see help for directions). Star ratings are always welcome.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Excel - macro to loop through row data and copy cell to each worksheet in the workbook

    Not sure I understand. Does this help?

    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)

Similar Threads

  1. Macro to copy specific cell data into a different excel workbook
    By Khanzaki in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2013, 05:55 AM
  2. Replies: 0
    Last Post: 04-28-2012, 06:06 PM
  3. Replies: 11
    Last Post: 02-09-2009, 06:10 AM
  4. Macro to copy data from worksheet (name changes daily) to master workbook
    By bshelman in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-10-2008, 08:52 AM
  5. Replies: 1
    Last Post: 04-01-2006, 03:50 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