+ Reply to Thread
Results 1 to 3 of 3

Entering formulas using activecell.offset

  1. #1
    Registered User
    Join Date
    07-23-2008
    Location
    Milton Keynes
    Posts
    4

    Entering formulas using activecell.offset

    Hi,
    This should be pretty simple but for the life of me I can't figure it out!

    I have manipulated data from a database and now have to add many formulas throughout the new worksheet.

    I can get the correct value using

    Please Login or Register  to view this content.
    This would enter the correct value however I would then have to repeat this step throughout the spreadsheet where required. (In total this is nearly 5000 times)

    If however I could enter it as a formula (where formA=3, formB=36 the cell value = F3+F36)
    I can then copy paste that across range(s) and it would speed up the macro greatly.

    So how do I enter a formula using variables formA & formb?

    Many thanks

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Hi

    Like this:

    Please Login or Register  to view this content.
    Richard

  3. #3
    Registered User
    Join Date
    07-23-2008
    Location
    Milton Keynes
    Posts
    4
    Many Thanks Richard,

    It's not exactly what I wanted (I think my explanation was a bit misleading) but you pointed me in the right direction

    Please Login or Register  to view this content.
    Cheers

+ 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