+ Reply to Thread
Results 1 to 4 of 4

Adding Value to a cell which contain formula

  1. #1
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Adding Value to a cell which contain formula

    Hi All,

    i am need to get this query done.

    my query is, i have formula in cell as
    Please Login or Register  to view this content.
    and i want to add value to that formula using VBA code like
    Please Login or Register  to view this content.
    and i try using below code , however its not getting done its showing error Type Mismatch.

    Please Login or Register  to view this content.
    can anyone please help me out with this.

    thank you !
    Last edited by Naveed Raza; 04-05-2016 at 08:44 AM.
    Thanks - Naveed
    -----------------------------
    If the suggestion helps you, then Click * to Add Reputation
    To Attach File: Go Advanced>>Manage Attachments>>Add Files (In Top Right Corner)>>SelectFiles>>.........Locate Your File(s)>>Upload Files>>Done (In Bottom Right)
    1. Use [code] code tags [\code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Adding Value to a cell which contain formula

    While I look at it please edit code tags:


    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Adding Value to a cell which contain formula

    Here, try this:

    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor Naveed Raza's Avatar
    Join Date
    11-04-2012
    Location
    India, Hyderabad
    MS-Off Ver
    Excel, Access 2007/2010
    Posts
    1,338

    Re: Adding Value to a cell which contain formula

    Hi Sir,

    sorry ! due to hurry i forget to add Code Tags,

    About query: its got resolved , just need to add below red highlighted line.

    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. [SOLVED] Formula for adding a percentage from one cell and adding the total of 2 others
    By Kandra in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-04-2013, 06:48 AM
  2. Replies: 1
    Last Post: 02-24-2013, 06:27 PM
  3. adding a formula to every second cell
    By bbdata in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-25-2013, 02:54 AM
  4. [SOLVED] Adding Formula to cell in VBA
    By rlpowers in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-23-2012, 11:28 AM
  5. Replies: 8
    Last Post: 03-21-2012, 12:04 PM
  6. Adding numbers to cell references in formula, rather than cell values
    By stanja in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2009, 07:41 PM
  7. VBA - Adding Formula to a cell
    By Chris424 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-05-2008, 05:17 AM
  8. Adding formula to a cell with VB
    By Willow in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-25-2006, 07:30 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