Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Creating a macro to swap cells but retain formatting
Greetings,
I have a macro that I am using to swap the contents of two cells. When I use it I lose any character formatting that I have applied to the cell(s). Does anyone have any insights into how to do a swap cell macro but retain the formatting? Sub SwitchCells() ' ' Macro created 4/13/2007 by willis Range("k13") = Range("g13") Range("g13") = Range("b13") Range("b13") = Range("k13") Range("k13") = "" End Sub Best regards! Jeff |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I swap cells | Excel Discussion (Misc queries) | |||
swap values between two cells | Excel Worksheet Functions | |||
retain cell formatting | Excel Discussion (Misc queries) | |||
Swap contents of two cells | Excel Discussion (Misc queries) | |||
Swap Cells | Excel Discussion (Misc queries) |