+ Reply to Thread
Results 1 to 3 of 3

Code not working on new documet

  1. #1
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Code not working on new documet

    I Guys,
    I wrote this code a while ago. I worked perfectly but now I've tried using it in a new document it wont work. Does anyone know why?
    Attached Files Attached Files
    Last edited by jpe1; 09-24-2019 at 10:07 AM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Code not working on new documet

    Seems to work for me.

    Typed =Critical_P(E3, 298) into an empty cell and returned a pressure of 9.898145002

    Are macros enabled when you attempt to use it?
    Martin

  3. #3
    Registered User
    Join Date
    05-28-2019
    Location
    Edinburgh
    MS-Off Ver
    2013
    Posts
    92

    Re: Code not working on new documet

    Hi, sorry for the slow reply ive not had internet for a few weeks. The codes working fine now. I'm not sure what happened.

+ 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. VBA - problem with open word documet from excel (office 2016 and MacOS)
    By Viktor Kolman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2018, 06:21 AM
  2. Replies: 1
    Last Post: 09-21-2016, 07:48 AM
  3. [SOLVED] Pattern Building VBA Code - Working code, would like to use cleaner code
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2015, 03:05 PM
  4. [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
  5. Macro to change the documet format from word 2007 to 2003
    By BS Singh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-27-2013, 10:44 PM
  6. [SOLVED] Using SendKeys With Notepad Documet
    By :) Sixthsense :) in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-05-2013, 11:40 PM
  7. [SOLVED] How do I change my documet so the tab key will go to the next line
    By vandli in forum Excel General
    Replies: 4
    Last Post: 04-21-2006, 03:20 PM

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