+ Reply to Thread
Results 1 to 2 of 2

Divinding a range with a commandbutton

  1. #1
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Divinding a range with a commandbutton

    Hi all,

    Lets say that i have A1:E5 filled with formulas (which return a number in the end). I'd like to add a commandbutton to the sheet which would cause the desired range to be divided by 40. If i click the commandbutton once again, I'd like to number to go back to its previous state (not divided by 40).


    Is there any chance for this?

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Divinding a range with a commandbutton

    Here's a code I came up with. It works pretty good. The downside of this code is that the formula gets replaced with a value. I'd like the formula to stay intact

    Please Login or Register  to view this content.

+ 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