Consulting

Results 1 to 3 of 3

Thread: Move to next column in a loop

  1. #1

    Move to next column in a loop

    I am trying to copy and paste from the columns "B18:C3665" from the sheet DEMO and paste the columns in the sheet "Concentration Data" Columns C8.
    the next set of data needs to be copied from the same columns Demo : B18-C3665 and needs to be pasted in "Concentration Data" Columns E8. this task to be repeated 30 times. I appreciate if anyone help me with this code.

    Thank you !!


    ActiveWindow.SmallScroll Down:=-11
    Range("B18:C3665").Select
    Range(Selection, Selection.End(xlDown)).Select
    col = ActiveCell.Select("C8")

    For L = 1 To 30

    Worksheets("Demo").Range("B18").Copy
    Worksheets("Concentration Data").Select
    Range(col).PasteSpecial Paste:=xlPasteValues
    col = ActiveCell.Offset(0, 2)


    Next L

  2. #2
    https://www.excelforum.com/excel-pro...n-in-loop.html

    I think you have your answer in that Post.

    Please be so kind and in your next time asking for help, hyperlink to all sites where you have asked for the same help.
    There is lots of information (Google) on cross posting

    Good luck

  3. #3
    Quote Originally Posted by jolivanes View Post
    https://www.excelforum.com/excel-pro...n-in-loop.html

    I think you have your answer in that Post.

    Please be so kind and in your next time asking for help, hyperlink to all sites where you have asked for the same help.
    There is lots of information (Google) on cross posting

    Good luck
    Sorry. I did not mean to trouble the same resources, multiple times and didn't realize that this could end up being cross-posting to the same resources. Next time I will hyperlink them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •