98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » VBA Copy cell format to destination cell
VBA Copy cell format to destination cell
Resolved · High Priority · Version 2007
Shamin has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course
VBA Copy cell format to destination cell
How can you copy cell format to destination cell?
RE: VBA Copy cell format to destination cell
Hi Shamin
Thanks for your question
The quickest method would be to invoke the paste special method. While this does involve using the select method, which is not ideal, it is still probably the optimum technique in this instance.
The following is an example
Range("B3").Select
Selection.Copy
Range("F3").Select
Selection.PasteSpecial Paste:=xlPasteFormats
Regards
Stephen
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Generating simple column charts1.Select cell range containing data/figures |