+ Reply to Thread
Results 1 to 2 of 2

How to enter this formula as VBA?

  1. #1
    Forum Contributor
    Join Date
    01-29-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    123

    How to enter this formula as VBA?

    I have the following formula and would like to include it in a macro. I managed to include the first formula in my macro using double double-quotes but I couldn't figure out a way to include the second formula which is simply an extended IF/THEN/ELSE statement.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Thanks!!

    GC

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,524

    Re: How to enter this formula as VBA?

    The Macro recorder works great for this.
    Start the Macro recorder, select the cell that has the formula you want, select the formula bar and hit the Enter Key, Stop the Macro recorder, go to the VBA editor and check out the formula.

+ 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