Results 1 to 7 of 7

My some basic programms always show syntax error when i run macros

Threaded View

  1. #1
    Registered User
    Join Date
    02-26-2013
    Location
    pakistan
    MS-Off Ver
    Excel 2007
    Posts
    22

    My some basic programms always show syntax error when i run macros

    Sub CubeRoot()
    Num = InputBox(“Enter a positive number”)
    MsgBox Num ^ (1/3) & “ is the cube root.”
    End Sub
    why this macro always gives my syntax error ?
    Last edited by syedfahadjalali; 03-02-2013 at 04:44 PM.

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