+ Reply to Thread
Results 1 to 2 of 2

Selecting cols and doing a formula using variable offsets

  1. #1
    Registered User
    Join Date
    06-16-2005
    Posts
    34

    Selecting cols and doing a formula using variable offsets

    I want to put a formula in a selected region of cells which changes after every pass in a for loop.

    This is what works for column G, but I want to have the column change each pass.

    Selection.AutoFill Destination:=Range("G3:G207"), Type:=xlFillDefault

    Something like this is what i need:

    Selection.AutoFill Destination:=Cells(3:finalrow, x+offset), Type:=xlFillDefault

    Can I somehow use Range() with numbers for the column? How about doing it using Rows()?

    Thanks!

  2. #2
    Registered User
    Join Date
    06-16-2005
    Posts
    34
    bump bummp

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1