+ Reply to Thread
Results 1 to 4 of 4

VBA autocorrect settings

  1. #1
    Registered User
    Join Date
    10-22-2017
    Location
    ENGLAND
    MS-Off Ver
    2016
    Posts
    35

    VBA autocorrect settings

    Are there any vba settings that control how vba corrects code imperfections? It might be that my code works on my pc but not on some other PC's because of these settings?

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: VBA autocorrect settings

    .
    For the most part, insuring your code works on all or most computers is dependent upon your coding skills.

    Excel does not have a means of "code checking" for compatibility with others systems, etc.


    Two things you can do to assist you have correct coding is to use the phrase "Option Explicit" at the top of all modules. This
    forces you to DIM your variables, etc. and it will check most of your coding to insure there are few errors ... but I don't
    believe it can 'catch' everything.

    Also, in the VBE menu, DEBUG / COMPILE VBA PROJECT .. it too will review your code for errors.

    I utilize a personal website that distributes some free Excel software. Of the thousands of visitors to the site, here is a breakdown of
    a few components they are using :


    Screen sizes

    1920 x 1080 pixels 24.2%

    1366 x 768 pixels 15.2%

    1024 x 768 pixels 9.1%

    1600 x 900 pixels 6.1%

    1680 x 1050 pixels 6.1%

    1280 x 768 pixels 6.1%

    1280 x 800 pixels 6.1%

    1536 x 864 pixels 3.0%

    1524 x 857 pixels 3.0%

    1024 x 820 pixels 3.0%


    OS

    Windows 87.9%
    MacOS 6.1%
    Linux 3.0%
    iOS 3.0%

    Hopefully that will help some to see what others are running.

  3. #3
    Registered User
    Join Date
    10-22-2017
    Location
    ENGLAND
    MS-Off Ver
    2016
    Posts
    35

    Re: VBA autocorrect settings

    Dear Logit,
    Thank you for the info. I have inserted Option Explicit and have compiled, and it found a few error which I have corrected. Tthe original issue persists, which is as follows:
    I have an excel spreadsheet with VBA that works fine on my PC, however when my friend tries it on his laptop, at a certain part of the code where I start referencing the chart, it shuts his excel down without any error messages. We are both windows 10 Excel 2016. Do you think it is my code that is shutting his Excel down, or is it his PC? Regards, David

  4. #4
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: VBA autocorrect settings

    .
    There may be a reference in TOOLS / REFERENCES that you have enabled and he does not ?

+ 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] AutoCorrect
    By zanshin777 in forum Excel General
    Replies: 3
    Last Post: 09-25-2015, 06:52 PM
  2. [SOLVED] One of the Settings in Options Trust Center Settings is Grayed out
    By zit1343 in forum Excel General
    Replies: 2
    Last Post: 06-28-2012, 09:18 AM
  3. Excel autocorrect
    By crania in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2007, 07:03 AM
  4. Autocorrect (more than 255 characters)
    By kpriyac in forum Excel General
    Replies: 0
    Last Post: 08-30-2006, 02:24 PM
  5. autocorrect
    By notrace2004 in forum Excel General
    Replies: 1
    Last Post: 05-29-2006, 03:35 AM
  6. Autofill/Autocorrect
    By joeldsmt in forum Excel General
    Replies: 10
    Last Post: 02-03-2006, 07:57 PM
  7. [SOLVED] AutoCorrect
    By reneabesmer in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-19-2005, 12:06 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