Re: Help with VBA Error

Discussion in 'Microsoft Excel New Users' started by Stan Brown, Feb 26, 2012.

  1. Stan Brown

    Stan Brown Guest

    On Sun, 26 Feb 2012 00:54:09 +0000, HatStephens wrote:
    > MsgBox theNumber & " raised to the power of " raiseToPower & " = "
    > theResult
    >


    You forgot the ampersand before theResult.

    (I'm assuming in the original this was all on one line.)

    --
    Stan Brown, Oak Road Systems, Tompkins County, New York, USA
    http://OakRoadSystems.com
    Shikata ga nai...
     
    Stan Brown, Feb 26, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dick Merryman

    Help with simple(?) VBA function

    Dick Merryman, Mar 7, 2004, in forum: Microsoft Excel New Users
    Replies:
    6
    Views:
    593
    Tom Ogilvy
    Mar 8, 2004
  2. Bill

    Help Please - VBA Excel

    Bill, Jun 12, 2004, in forum: Microsoft Excel New Users
    Replies:
    7
    Views:
    207
    JulieD
    Jun 13, 2004
  3. SKS

    Excel VBA - Runtime Error "1004" General ODBC Error

    SKS, Jun 21, 2004, in forum: Microsoft Excel New Users
    Replies:
    2
    Views:
    4,480
  4. SKS

    Excel VBA - Help with Macro

    SKS, Jun 24, 2004, in forum: Microsoft Excel New Users
    Replies:
    2
    Views:
    371
  5. Guest

    AHHHHHH! Excel VBA Help!

    Guest, Jul 21, 2004, in forum: Microsoft Excel New Users
    Replies:
    2
    Views:
    190
    Guest
    Jul 21, 2004
Loading...

Share This Page