Results 1 to 5 of 5

varying a range in a formula

Threaded View

  1. #1
    Registered User
    Join Date
    11-13-2008
    Location
    The Netherlands
    Posts
    21

    varying a range in a formula

    I need some programming help to control the length of the range in the formula below:

    Range("D2").Select
        	ActiveCell.Formula = "=SUM(A2:A10)"
    The start and stop values of the range are in the worksheet in cell C10 and C11 as integers.
    Is it possible to change this formula in such a way that the formula is controlled by the content of the cells C10 and C11?

    Your help will be appreciated very much.
    Last edited by Justme47; 05-31-2009 at 10:10 AM.

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