Use VBA to format paint cell(s)

G

Guest

Is it possible to make the formatting of a target cell the same as some
source cell - like through the use of the toolbar "format painter"?

If not what's the best way to go about replicating formatting from one cell
to another?

Thanks in advance for any ideas you have.
Charles
 
G

Guest

Among many other things I'm programatically adding values to cells in some
worksheets that need to match existing formatting...
 
D

Dave Peterson

Record a macro when you do Edit|copy, edit|paste special|Formats

And you'll see the code you'd use.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top