+ Reply to Thread
Results 1 to 6 of 6

VBA Excel - Adding a therm on a formula already exist in a cell.

  1. #1
    Registered User
    Join Date
    12-04-2015
    Location
    Brazil
    MS-Off Ver
    2013
    Posts
    11

    VBA Excel - Adding a therm on a formula already exist in a cell.

    Hi guys, my question is simples. I have this code, running just fine, but now I need to add something in it.


    Please Login or Register  to view this content.
    As you can see, he searches which cell it's colored and then reference in the Cell "D4". But I need sum one cell (always fixed coordenates), so that in the cell something like: "=R$4 + T$11". R$4 just example, that my code is already finding, and I need to add the cell T11.

    I tried a few variations but I can't get through.

    Code:
    Please Login or Register  to view this content.


    thanks in advance.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,338

    Re: VBA Excel - Adding a therm on a formula already exist in a cell.

    How about this?
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    12-04-2015
    Location
    Brazil
    MS-Off Ver
    2013
    Posts
    11

    Re: VBA Excel - Adding a therm on a formula already exist in a cell.

    Exactly what I need mate! Thank you so much!

    And if a needed to add in this formula at the Cell L4.
    After seen which one is the max, add the cell T11

    Please Login or Register  to view this content.
    Last edited by yorgosnc; 09-16-2016 at 08:32 AM.

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MSO Home and Business 2024
    Posts
    7,338

    Re: VBA Excel - Adding a therm on a formula already exist in a cell.

    Like this ?
    Please Login or Register  to view this content.

  5. #5
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: VBA Excel - Adding a therm on a formula already exist in a cell.

    Also posted on OzGrid - and MrExcel

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: VBA Excel - Adding a therm on a formula already exist in a cell.

    Thanks cytop

    @yorgosnc
    Please note our forum rules about cross posting. Please edit your original and add any cross posted links.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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. [SOLVED] Formula that refers to a cell on a sheet that may or may not exist.
    By k1989l in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-01-2015, 02:50 PM
  2. [SOLVED] Check First IF Sheet Is Exist With The Name Of Cell K7 If exist Then run the code
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-18-2015, 10:08 AM
  3. Need help on adding Labels on to non exist row
    By chemistory in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-17-2014, 01:28 AM
  4. does this excel formula exist?
    By TopDMC in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-23-2014, 07:14 AM
  5. Excel Adding to Cell's Value Without Formula
    By Bornin1992 in forum Excel General
    Replies: 5
    Last Post: 02-01-2013, 08:13 PM
  6. [SOLVED] How to know if a cell have colour? exist a formula?
    By jamiguel77 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2013, 03:21 AM
  7. [SOLVED] adding a name to a list if it does not already exist
    By slaneues in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-25-2012, 10:33 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