Consulting

Results 1 to 4 of 4

Thread: Pasting Functions by 5's

  1. #1

    Talking Pasting Functions by 5's

    Hi everyone! I have a quick question!!

    I need to paste a function, a reference to another sheet in my workbook, (=WebEntry!A1).

    But when I paste to the next cell it goes up by 1. Like A1, A2, etc.
    I need it to go up in increments of 5, like A1, A6, A11, A16, etc.

    How can I do that?

    Thanks so much!! Jennifer

  2. #2
    VBAX Regular mfegyver's Avatar
    Joined
    Aug 2007
    Location
    S?o Paulo
    Posts
    15
    Location
    do u want a code (macro) or simply pasting?
    if u wanna a code, use step:[VBA] for myvar = 1 to 60 step 5
    [/VBA]

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =INDIRECT("WebEntry!A"&ROW(A1)*5-4)
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    Oh wow!! You guys are awesome!!!!
    Thank you so much!!!

Posting Permissions

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