Hi all,
I have a simple sheet and most of the cells are formatted with a bg color. I want to be able to select a cell with a value and move it to another location, but I don't want the formatting to move. The 'protect sheet' angle doesn't work because when you select and move a cell, the formatting moves too.
Here's an example:
1. Start with a new sheet and format cell A1 with a fill color and enter a value in the cell.
2. Now select the cell and move it to B2 by dragging its border.
The bg color moves with the value.
I want to be able to move the cells by dragging them. I don't want to cut-paste special. That would be too tedious considering how often i need to move the values around.
I want to be able to:
1. Click a cell
2. Drag it by it's border to the destination cell. Done, with formatting not moving.
Now, if I move a cell, I can then use the Worksheet_Change function and change the destination cell to the proper formatting. This is easy because immediately after the move the destination cell is still selected. The problem is the source cell. How can I identify what the source cell (or range) was?
Another idea would be to make "Match Destination Formatting" the default. Any way to do that? (As long as the source formatting remains too.)
Any help is greatly appreciated,
miguel3d
I have a simple sheet and most of the cells are formatted with a bg color. I want to be able to select a cell with a value and move it to another location, but I don't want the formatting to move. The 'protect sheet' angle doesn't work because when you select and move a cell, the formatting moves too.
Here's an example:
1. Start with a new sheet and format cell A1 with a fill color and enter a value in the cell.
2. Now select the cell and move it to B2 by dragging its border.
The bg color moves with the value.
I want to be able to move the cells by dragging them. I don't want to cut-paste special. That would be too tedious considering how often i need to move the values around.
I want to be able to:
1. Click a cell
2. Drag it by it's border to the destination cell. Done, with formatting not moving.
Now, if I move a cell, I can then use the Worksheet_Change function and change the destination cell to the proper formatting. This is easy because immediately after the move the destination cell is still selected. The problem is the source cell. How can I identify what the source cell (or range) was?
Another idea would be to make "Match Destination Formatting" the default. Any way to do that? (As long as the source formatting remains too.)
Any help is greatly appreciated,
miguel3d