Results 1 to 3 of 3

Msgbox results

Threaded View

kistonce Msgbox results 05-18-2010, 10:09 PM
mdbct Re: Msgbox results 05-18-2010, 10:28 PM
stanleydgromjr Re: Msgbox results 05-18-2010, 10:34 PM
  1. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Msgbox results

    kistonce,

    Try:


    
    Option Explicit
    Sub Reconcile()
    Dim Deb As Double
    Dim Cred As Double
    Dim Clr As Double
    Dim Frm As Double
    Deb = Evaluate("=Sum(D3:D10000)")
    Cred = Evaluate("=Sum(F2:F10000)")
    Clr = Evaluate("=SumIf(E5:E10000," <> """,D5:D10000)")
    Frm = Cred - Deb + Clr
    MsgBox "Bank balance should be " & Format(Frm, "$#,##0.00")
    End Sub
    Last edited by stanleydgromjr; 05-18-2010 at 10:37 PM.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

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