+ Reply to Thread
Results 1 to 2 of 2

How to reference equations using for loops index in macros

  1. #1
    Registered User
    Join Date
    12-30-2012
    Location
    los angeles
    MS-Off Ver
    Excel 2010
    Posts
    12

    How to reference equations using for loops index in macros

    Hi,

    I am having a problem with a code in excel; I have searched the solution for 2 days on the internet and it seems there is no solution to something so simple. I want the code to write the function "= .15 * prices!Bi" where the index i is any integer from 1 to 1175 corresponding with the if statement. B is the column and i is the variable number


    Here is the code I have in excel:

    Please Login or Register  to view this content.
    Last edited by jeffreybrown; 12-31-2012 at 10:04 AM. Reason: As per Forum Rule #3, please use code tags…Thanks.

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to reference equations using for loops index in macros

    you need
    Please Login or Register  to view this content.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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