How to paste formula from visual basic to excel In relative
Posted
by magh
on Stack Overflow
See other posts from Stack Overflow
or by magh
Published on 2010-05-18T07:31:58Z
Indexed on
2010/05/18
7:50 UTC
Read the original article
Hit count: 262
In visual basic code works as below
MyWorksheet.Range("A1:D1").Formula = "A1B2"
In excel it shows in
A1 as A1B2
B1 as A1B2
C1 as A1B2
D1 as A1B2
what i want do
A1 as A1B2
B1 as A1B3
C1 as A2B4
D1 as A2B5
Thanks in Advance
© Stack Overflow or respective owner