+ Reply to Thread
Results 1 to 2 of 2

Enter simple changing formula in many but not all cells

  1. #1
    Registered User
    Join Date
    03-12-2008
    Posts
    2

    Enter simple changing formula in many but not all cells

    Excel 2003
    Please forgive me if this is not explained very well, I am totally new to VBA but need to solve a problem..
    I have to enter a large number of simple formulas on a worksheet (sheet2), the formula is dependant on where it's being entered. eg.
    in Sheet 2 cell E6 the formula would need to be =+Sheet1!$A6*Sheet1!E6 and in Sheet 2 cell h9 it would be =+Sheet1!$A9*Sheet1!H9 and Sheet 2 cell bd53 would be =+Sheet1!$A53*Sheet1!bd53 and so on...
    However, I don't want that formula in every cell, only in cells where there is a number in the corrasponding cell in Sheet 1.
    I have no idea if that makes sense, but the reason I can't do it by hand is the sheet is massive C3:IV2000!! although most of the cells are blank.

    Sorry if i'm asking too much or in the wrong way, but any help would be greatly appreciated

    Paul

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Burley,

    Solved elsewhere
    Please don't cross post (read forum rules below) and then delete the post when you find an answer.

    Share the answer with other readers

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ 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