+ Reply to Thread
Results 1 to 4 of 4

How to make a cell as odd or even number

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    How to make a cell as odd or even number

    Hi, for my interest. I'd like to know how to make a cell C1 as any odd number. Then next time, when the file is opened again, cell C1 is made as any even number.

    Is there a clever way to do this without VBA?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,829

    Re: How to make a cell as odd or even number

    I don't think you believe me, do you?

    Pete

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    81

    Re: How to make a cell as odd or even number

    There must be a way to deal with this.

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

    Re: How to make a cell as odd or even number

    Nope.

    Without a macro its impossible.

    but it can be a simple macro.



    somewhere put in a formula =c1+1
    start the macro recorder. [ Developer, start recorder ]

    copy the cell with your formula and then paste special value into c1

    stop the recorder.

    Hey Presto.

    For super **** functionality. call the macro auto_open or auto_close and it will run when you open or close the spreadsheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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