+ Reply to Thread
Results 1 to 3 of 3

Define a Formula in VBA

  1. #1
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Define a Formula in VBA

    Hello
    How can i add following formula in VBA form
    '=IF(Q327="SP",IF(OR(T327="MLC",T327="mp"),R327&T327&"Others",H327),R327&"Others")

    When ever i apply a formula in VBA in following type..

    Please Login or Register  to view this content.
    i m confuse that how can i use " & Cells(r.Row, "<Colum Value>").Address & " code line in above mention formula pls suggest me

    We want to use this formula in Column S

    Thanks in advance
    Last edited by santosh226001; 08-16-2013 at 01:03 AM. Reason: Add a line We want to use this formula in Column S

  2. #2
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: Problem in Define Formula in VBA

    My existing code is following we want to add


    Please Login or Register  to view this content.
    We want to add this formula to below red color code line
    =IF(Q327="SP",IF(OR(T327="MLC",T327="mp"),R327&T327&"Others",H327),R327&"Others")

    pls help

  3. #3
    Forum Contributor
    Join Date
    01-29-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    434

    Re: Define a Formula in VBA

    We got solved with self try, forum other thread help with following

    Please Login or Register  to view this content.

+ 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. Replies: 8
    Last Post: 07-29-2013, 05:38 PM
  2. error 1004 application define or object define
    By jay11 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-11-2011, 04:09 AM
  3. Define List Name Formula
    By freybe06 in forum Excel General
    Replies: 11
    Last Post: 07-12-2011, 05:45 PM
  4. Define named range where user can define size
    By nahousto in forum Excel General
    Replies: 4
    Last Post: 07-06-2009, 05:09 PM
  5. Define name formula
    By matrixknow in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-14-2007, 09:23 AM

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