Consulting

Results 1 to 3 of 3

Thread: Alternative to copy / paste

  1. #1

    Alternative to copy / paste

    Hi guys,

    Is it possible to make a macro that does the same of the following but without copy / paste?

    ActiveSheet.Range(Cells(20, 1), Cells(20 + n - 1, 1)).EntireRow.Select
    
    Dim i As Integer
    Dim Rng  As Range
        i = Range("A2:A2")
        Set Rng = Selection
        Rng.Copy Rng.Offset(Rng.Rows.Count).Resize(Rng.Rows.Count * i, Rng.Columns.Count)
    Thanks in advance!

    FR

  2. #2
    VBAX Newbie
    Joined
    Apr 2015
    Posts
    5
    Location
    Hi FR,

    Do you have a sample spreadsheet with data? I'd be happy to take a look for you.

    James

  3. #3
    Quote Originally Posted by James88 View Post
    Hi FR,

    Do you have a sample spreadsheet with data? I'd be happy to take a look for you.

    James
    Hi James.

    Thanks for the reply. Please find attached an example spreadsheet.

    Thanks again for your help
    Attached Files Attached Files

Posting Permissions

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