+ Reply to Thread
Results 1 to 2 of 2

Inserting Formula containing Absolute Cell Address into Table Column

  1. #1
    Registered User
    Join Date
    09-11-2014
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    2

    Inserting Formula containing Absolute Cell Address into Table Column

    Hi all,

    Hope I've got the right terminology for what I'm asking but apologies if I don't, I haven't been using VBA too long.

    I'm trying to insert a formula into each column using VBA code. It seems like it should be pretty simple but I can't figure out how to do it. The code is of the form:

    Please Login or Register  to view this content.
    i.e. I want the user to be able to enter a scaling factor in a cell and the results column be updated automatically (scalingFactor here is a string of the form "A1").

    It seems like it should be easy but Excel is incrementing my cell reference for each row in the table. So A1 becomes A2 on the 2nd row, A3 on the 3rd, etc. I've tried a lot of different forms of code (.Formula = , scalingFactor as numbers, etc.) and spent a few hours looking for the answer but the solution eludes me. Can anyone tell me what I'm doing wrong?
    Last edited by talking_walnut; 10-29-2014 at 05:47 AM.

  2. #2
    Registered User
    Join Date
    09-11-2014
    Location
    Ireland
    MS-Off Ver
    2010
    Posts
    2

    Re: Inserting Formula containing Absolute Cell Address into Table Column

    Figured this out.

    Set
    Please Login or Register  to view this content.
    Nothing like a new day to figure out stupid problems

+ 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. How to check and replace formula cell absolute address?
    By alee001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-19-2014, 11:26 AM
  2. [SOLVED] Use cell containing absolute address for a cell in another workbook in a formula
    By sawsheen in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2013, 02:35 PM
  3. Replies: 3
    Last Post: 07-07-2012, 08:22 AM
  4. Absolute reference to table column in formula
    By jscott15 in forum Excel General
    Replies: 1
    Last Post: 11-03-2010, 01:00 PM
  5. [SOLVED] Inserting formula with absolute cell and relative cell
    By Ernesto in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2005, 06:05 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