+ Reply to Thread
Results 1 to 2 of 2

Vba formula issues

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    63

    Vba formula issues

    I'm trying to create some vba code for a cell in my spreadsheet. I've used the same one with a basic "sum" but with a more complex formula it doesnt work:

    Please Login or Register  to view this content.
    Any ideas where I am going wrong?

    Many thanks
    Kasperblue
    Last edited by arlu1201; 07-30-2012 at 03:35 AM. Reason: Use code tags in future.

  2. #2
    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 formula issues

    Hi,

    When creating formula with VBA, any literal characters themselves need to be included in a pair of literal quote marks.

    So use """" instead of just ""
    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)

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