+ Reply to Thread
Results 1 to 4 of 4

your entry cannot be used. an integer or decimal may be required

  1. #1
    Forum Contributor
    Join Date
    08-20-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2010, 2016, 2019
    Posts
    110

    your entry cannot be used. an integer or decimal may be required

    I want to change the maximum change under options > formulas to 0.001, but it keeps showing the error: your entry cannot be used. an integer or decimal may be required

    Even my (point)/delete button on the keyboard will show a (point) in word when I use it, but in excel it shows a (comma)

    I tried the below from an old thread from 2005, but it didn't work

    Open a new workbook
    hit alt-f11 (to get to the vbe.
    hit ctrl-r (to see the project explorer)
    locate your workbook's project.

    It should look like:
    VBAProject(Book1)

    Right click on that and select Insert|Module.
    Paste this in:

    Option Explicit
    Sub testme()
    With Application
    .Calculation = xlManual
    .Iteration = True
    .MaxChange = 0.001
    End With
    End Sub

    Put your cursor inside that macro (click on With).
    Hit F5 (to run the code).

    Then alt-f11 to get back to excel.
    Can you get to tools|Options|calculation tab
    (And change the calculation back to automatic, too.)

  2. #2
    Forum Contributor
    Join Date
    01-09-2016
    Location
    Perth Western Australia
    MS-Off Ver
    Office 365
    Posts
    257

    Re: your entry cannot be used. an integer or decimal may be required

    It has been some time since I used Excel 2007 or even 2010 but in later versions (2016) you can set the default settings in the File tab.

    In 2016 click File tab / options
    Select Formula to set calculation either automatic/Manual also the number of iterations and maximum change (ie .001)

    Select Advanced / scroll to editing options to set decimal indicator to period.

    If this works for you it would save having to run a macro on start up or when you wanted a change. As I said I cannot check this against earlier versions but hope it helps.

    Cheers

  3. #3
    Forum Contributor
    Join Date
    08-20-2013
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2010, 2016, 2019
    Posts
    110

    Re: your entry cannot be used. an integer or decimal may be required

    Thanks, looks liked it worked

  4. #4
    Forum Contributor
    Join Date
    01-09-2016
    Location
    Perth Western Australia
    MS-Off Ver
    Office 365
    Posts
    257

    Re: your entry cannot be used. an integer or decimal may be required

    Glad to have helped

+ 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. Replies: 2
    Last Post: 11-19-2015, 09:20 AM
  2. Decimal number changes to integer
    By nickjnford in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2013, 06:32 AM
  3. vba userform - how to sum values decimal and integer?
    By homasa in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 03-25-2013, 05:52 AM
  4. [SOLVED] Days To Months and Decimal to Integer
    By ajocius in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2013, 03:51 PM
  5. Decimal Conversion into integer
    By maanrehman2001 in forum Excel General
    Replies: 2
    Last Post: 04-02-2012, 06:54 AM
  6. Divide Integer/Decimal inside one cell
    By criticalmass in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-13-2009, 01:30 AM
  7. Integer vs long vs decimal
    By mtclimber in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-25-2009, 08:18 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