chuckchuckit
Well-known Member
- Joined
- Sep 18, 2010
- Messages
- 541
Here is "With" code that transfers data:
It does not transfer cell colors, fonts, row heights, or column widths etc. How would I modify (or add to) the above code to transfer such without using the "copy" command?
Am trying to avoid using the clipboard, which the "copy" command uses.
Thanks.
Chuck<o></o>
<o></o>
Code:
[COLOR=black][FONT=Verdana]With Range("A1:B2")<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>[/FONT][/COLOR]
[COLOR=black][FONT=Verdana] Range("D5").Resize(.Rows.Count, .Columns.Count) = .Value<o:p></o:p>[/FONT][/COLOR]
[COLOR=black][FONT=Verdana]End With<o:p></o:p>[/FONT][/COLOR]
Am trying to avoid using the clipboard, which the "copy" command uses.
Thanks.
Chuck<o></o>
<o></o>