+ Reply to Thread
Results 1 to 3 of 3

Equivalent Worksheet Formula to VBA Formula

  1. #1
    Forum Contributor
    Join Date
    06-07-2011
    Location
    Hnd
    MS-Off Ver
    Excel 2010
    Posts
    161

    Equivalent Worksheet Formula to VBA Formula

    Hello to all,

    I have this formula that works fine,
    Please Login or Register  to view this content.
    but I want to know if it is possible to write an equivalent formula using VBA formulas like this:
    Please Login or Register  to view this content.
    Because if I use Evaluate() method, I cannot use it variables like below:
    Please Login or Register  to view this content.
    Thanks for any help.
    Last edited by cgkmal; 07-16-2014 at 04:55 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Equivalent Worksheet Formula to VBA Formula

    Just a guess because I can't see how those variables are defined...

    But Perhaps you need to use
    MyRange1.Address in the Evaluate...

  3. #3
    Forum Contributor
    Join Date
    06-07-2011
    Location
    Hnd
    MS-Off Ver
    Excel 2010
    Posts
    161

    Re: Equivalent Worksheet Formula to VBA Formula

    Hello Jonmo1,

    It seems adding .address does the trick.

    Many thanks for your help

    Regards

+ 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. Excel Formula equivalent of Access Formula
    By adam90 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 01-13-2010, 07:37 AM
  2. [SOLVED] Formula equivalent of CurrentRegion
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  3. Formula equivalent of CurrentRegion
    By bdr200 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  4. Formula equivalent of CurrentRegion
    By bdr200 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-14-2005, 07:05 AM
  5. Equivalent VBA for MID/FIND formula
    By jwb96@hotmail.com in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2005, 01:06 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