Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
1 A  B  C   D    E   F
2          =D1  =E1   
3           X    x

Some of the cells in row 3 are blank, i want for perticular range("D3","E3") formula to be pasted from row 2

plz do needful, thanking you...

share|improve this question
    
LOL......are u gonna accept answers?? –  Sangram Dec 30 '10 at 12:01

1 Answer 1

use the Value2 of the range to get access to the actual formula per cell.

you can iterate over the range cells using foreach (Range c in Source_Range.Cells) (assuming Source_Range is D3:E3 cells.

share|improve this answer
    
@Smack: did my answer help you? if yes, please accept it –  NirMH Aug 2 '11 at 6:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.