+ Reply to Thread
Results 1 to 2 of 2

Issues with VBA lookup scripts

  1. #1
    Registered User
    Join Date
    04-28-2022
    Location
    Hampshire, England
    MS-Off Ver
    Office 365
    Posts
    1

    Issues with VBA lookup scripts

    Hi all,

    I am having an issue with a spreadsheet on my work computer and I can't seem to resolve it.

    The worksheet has custom functions in VBA that calculate Power Factor of a motor and other details, I have been back and forward through the code and am certain there is not an error in the code (secondly as the code appeared to run perfectly fine yesterday, but this morning upon starting up, if I change a value in one of the cells passed into the function I get the #NAME? error fill the associated cells.

    Could there be something blocking the running of these functions? I have looked in the options and set allow Macros etc and saved as a macro enabled workbook, but for the life of me cannot figure out why this worked yesterday and now when I open this morning I get the #NAME? error.

    I can post the code if you think it will help, however as I say I am confident the code is working as it worked fine yesterday when the sheet was created, it seems to be something stopping it working since re-opening this morning.

    Thanks in advance!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,461

    Re: Issues with VBA lookup scripts

    Fast answers need visual help. Please read the yellow banner at the top of this page on how to attach a file.

    Not just the code, the workbook for context.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. LOOKUP Issues
    By protocoder in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-23-2020, 02:30 AM
  2. [SOLVED] V-lookup issues
    By Redfeather in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-11-2014, 03:18 PM
  3. Lookup Issues
    By Rock_boy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2014, 01:30 AM
  4. [SOLVED] Lookup Issues
    By mumbles_Scott in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2014, 10:16 AM
  5. [SOLVED] Lookup issues
    By Bryony309 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2014, 06:01 AM
  6. IF and Lookup issues
    By jenm in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2009, 07:54 PM
  7. For a website, are Excel scripts better than other programming language scripts?
    By Advice Pro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2009, 02:07 PM

Tags for this Thread

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