+ Reply to Thread
Results 1 to 1 of 1

To insert formula in specific cell with VBA

  1. #1
    Registered User
    Join Date
    09-16-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2003
    Posts
    52

    To insert formula in specific cell with VBA

    If I have a speadsheet with two colums of data. Each column has data of 1000 rows (could vary in length). If I want to insert formula in specifc cells (see below++) within the two columns, what would VBA code be?

    ++
    1. Blank cells
    2. Cells with certain value, suach as "0", "XYZ"
    3. When the value of other cells, let say, the cell in the same row in column A, is "0", start with "XZY", equal to "XZY", or end with "XZY".

    For instance, cells B3:B20 are filled in, B21 is blank, B22:B70 are filled in, B71's value is "0", e.t.c.

    Thanks.
    Last edited by alexxgalaxy; 10-13-2011 at 08:55 AM.

+ 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