excel - Interior.PatternTintAndShade Property -
i working on excel sheets large amount of cell pattern based data. trying read values of these cell patterns , store info in sheet. unable there no function available in excel. please help.
as per title, appears want vba. now, not clear if want copy interior.pattern
, interior.patterntintandshade
, or perhaps else.
the code need like
dim wssrc worksheet, wstrg worksheet dim rngsrc range, clsrc range, cltrg range set rngsrc = <what want> each clsrc in rngsrc set cltrg = wstrg.range(clsrc.address) cltrg.interior.patterntintandshade = clsrc.interior.patterntintandshade next clsrc
(ps: not have system excel, code may need little adjustments).
other option perhaps works is: first copy, , use range.pastespecial
method, first argument xlpasteformats. vba method edit -> paste special (see comment jeeped).
Comments
Post a Comment