+ Reply to Thread
Results 1 to 4 of 4

Looping through row

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Essex
    MS-Off Ver
    Excel 2010
    Posts
    31

    Looping through row

    Hi,

    I am trying to figure out how to do the following via VBA and unable to find any answers so far.

    Have True of false values in Row 1.

    Want to loop through this row. For every true value found within the row it will copy the column of the cell and paste values.

    Thanks
    Dan

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Looping through row

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-22-2011
    Location
    Essex
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Looping through row

    Thanks Bishonen.

    It seems to just debug with 1004 run time error, highlighting the cell.pastespecial line. I have tried amending to selection.pastevalue etc and still no joy.

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Looping through row

    Try this

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

+ 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