Consulting

Page 2 of 2 FirstFirst 1 2
Results 21 to 26 of 26

Thread: fastest way to copy multiple range to multiple sheets

  1. #21
    Banned VBAX Regular
    Joined
    Mar 2021
    Posts
    38
    Location
    thanks snb it's exactly what i do but i can't post yesterday

  2. #22
    Banned VBAX Regular
    Joined
    Mar 2021
    Posts
    38
    Location
    i tried to post yesterday several times but a message came all the time something like the post reached its limit

  3. #23
    Thanks both Sam & snb.
    Gives me something to work on/with again.

  4. #24
    Banned VBAX Regular
    Joined
    Mar 2021
    Posts
    38
    Location
    sorry that's right
    as i say what i liked to post yesterday was my thanks for you and samT
    if I could have posted my new file you will see a module with name jolivanes
    nevertheless thank you very much Jolivanes ,samT & snb
    Last edited by chingilou; 03-27-2021 at 03:31 PM. Reason: forget

  5. #25
    Banned VBAX Regular
    Joined
    Mar 2021
    Posts
    38
    Location
    hello everyone sorry to resume this old thread
    how to do with snb code
    Sub snb()
        Dim sn As Variant
        sn = Feuil1.Cells(10, 1).CurrentRegion.Offset(1)
        Feuil2.Cells(14, 1).Resize(UBound(sn), 4) = Application.Index(sn, Evaluate("row(7:" & UBound(sn) & ")"), Array(1, 2, 4, 3))
        Feuil3.Cells(14, 1).Resize(UBound(sn), 4) = Application.Index(sn, Evaluate("row(7:" & UBound(sn) & ")"), Array(1, 2, 5, 3))
        Feuil4.Cells(14, 1).Resize(UBound(sn), 4) = Application.Index(sn, Evaluate("row(7:" & UBound(sn) & ")"), Array(1, 2, 6, 3))
        Feuil5.Cells(19, 3).Resize(UBound(sn), 3) = Application.Index(sn, Evaluate("row(7:" & UBound(sn) & ")"), Array(1, 2, 4))
        Feuil5.Cells(19, 7).Resize(UBound(sn), 1) = Application.Index(sn, Evaluate("row(7:" & UBound(sn) & ")"), Array(3))
    End Sub
    if i don't want to copy what is below the table (outside the table)
    the table starts in 10.1 and ends in maximum in 196.6

  6. #26
    Banned VBAX Regular
    Joined
    Mar 2021
    Posts
    38
    Location
    an empty line added below the table solve the problem

Posting Permissions

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