+ Reply to Thread
Results 1 to 3 of 3

Increasing numbers and ignoring hidden cells

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Increasing numbers and ignoring hidden cells

    Hi I need some help with some macro programming.

    I need a code that will take the number in the first cell (eg.2.1 or 3.1 etc) and increase it by .1 for each cell in the selection after.

    It needs to ignore hidden cells and increase the formatting to two decimal places once it gets to .10 and continue.

    It also needs to ignore any hidden cells.

    Your help would be greatly appreciated.

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Increasing numbers and ignoring hidden cells

    Hi,

    as far as I understood this you don't want to just add 0.1 to the number but add it to the decimal part of it?
    If this is true try this code:
    Please Login or Register  to view this content.
    In case I misunderstood you, sorry.

    Regards
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Increasing numbers and ignoring hidden cells

    Another method.
    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 04-18-2013 at 08:38 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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