Consulting

Results 1 to 5 of 5

Thread: Solved: macro help

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    VBAX Contributor
    Joined
    Dec 2009
    Location
    Sevastopol
    Posts
    150
    Location
    And one more one
    
    Sub Test1()
      Const StartRow = 2  ' <-- Change to suit
      With ActiveSheet.UsedRange
        With Range(Cells(StartRow, "D"), Cells(.Row + .Rows.Count - 1, "D"))
          .Value = .Offset(, -2).Value
        End With
      End With
    End Sub
    P.S. Not sure that I’ve understood the task correctly, Oleg if it's more suitable you can ask me by PM on Russian
    Last edited by ZVI; 01-30-2010 at 11:29 PM.

Posting Permissions

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