![]() |
#1
|
|||
|
|||
![]()
hello everybody.. and happy new year.. I need a VBA code to do the following:
in sheet 1 I have a range J8:J57. Here I have some numbers that I need to be equally divided into cells in sheet 2. Right now I am using the following formula: =ROUND(sheet1!$J$9/96;14). I then pull this formula down 96 cells to have the result. Then I move on to the next cell and do the same with the following formula: =ROUND(sheet!$J$8/96;14). This takes forever and, most important, is bound to create a problem if one of my colleagues deletes the formula from the cell. Is it possible to have VBA to do the job by selecting the cell and its destination range (ranges can vary between 96 and 125 cells)...? Also, is it possible to have the function update the destination cells whenever a change is made on sheet1? Last edited by s7y; 01-03-2014 at 08:06 AM. Reason: Add |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
SteveBump | Excel | 4 | 12-15-2013 09:53 PM |
how to divide into group | tomlam | Excel Programming | 2 | 05-20-2013 09:46 PM |
divide page into 4 parts | aclark17 | Word | 4 | 01-17-2012 09:04 AM |
![]() |
tareq | Excel | 12 | 09-29-2010 02:12 PM |
Divide by zero error | doublejoy | Excel | 1 | 08-22-2009 03:10 AM |