+ Reply to Thread
Results 1 to 4 of 4

VBA code not working

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    San Antonio, Tx
    MS-Off Ver
    Mac 2011
    Posts
    4

    VBA code not working

    Im trying to run this code and it keeps telling me that my func function is not defined. How do i fix this?

    Please Login or Register  to view this content.
    Example:
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 10-23-2014 at 10:25 PM. Reason: Added Code tags

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: VBA code not working

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-20-2014
    Location
    San Antonio, Tx
    MS-Off Ver
    Mac 2011
    Posts
    4

    Re: VBA code not working

    Wow -_- thanks man, didnt know you couldnt use sqrt and had to use ^1/2

  4. #4
    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 code not working

    A bit late in the day now but this post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    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

    Both of you please note.
    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)

Similar Threads

  1. [SOLVED] Vba code working in workbook module but not working from personal.xlb
    By satputenandkumar0 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-19-2014, 05:47 AM
  2. Replies: 1
    Last Post: 11-13-2013, 10:28 AM
  3. Removing code line stops code working?!?!?
    By adamj1910 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2012, 02:36 PM
  4. [SOLVED] VBA Code (colums to row, autofill) stop working in row 294 when new cable code appear
    By sknifseht in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2012, 05:27 AM
  5. Code for email alerts from excel isn't working, wrong code possibly?
    By jessthorogood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 01:45 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