+ Reply to Thread
Results 1 to 2 of 2

Need to add new columns to right AND execute formulas that change as new columns are added

  1. #1
    Registered User
    Join Date
    11-11-2012
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Need to add new columns to right AND execute formulas that change as new columns are added

    I'm looking to loop 2 formulas n number of times in new columns to the right each time. I converted my Range formula to the R1C1 version in the hopes I could use an object to increase the column number a loop but I don't know how to get the i variable to work in a R1C1 formula. The Cells(r, c) works with the object but any variation of it within the formular1c1= either fails or just prints i

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Registered User
    Join Date
    11-11-2012
    Location
    San Francisco, CA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Need to add new columns to right AND execute formulas that change as new columns are a

    Nevermind I think I got it, still need to figure out how get the loop to work but I'll work at it first
    Last edited by Warfarin; 08-16-2013 at 01:53 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. macro to add columns after existing columns and copy/paste headers and formulas
    By rhybeka in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2013, 02:35 PM
  2. [SOLVED] cut the cells to 3 columns in excel & remaining columns should be added to the next row
    By kr61665 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-06-2013, 11:07 AM
  3. Macro to hide columns and change formulas in multiple worksheets
    By Catthy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2012, 10:26 PM
  4. How to execute a macro across a specific number of columns
    By lukasdylan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2012, 03:42 PM
  5. Replies: 2
    Last Post: 02-13-2012, 10:15 PM

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