Macro to select certain cells & move data over 2 columns
Posted by Eric on November 14, 2001 6:24 AM
Financial spreadsheet contains lots of columns for entry by financial period. Some columns(for entry of dollar amounts) contain formulas as well as cells designated for data entry (call these "mixed" columns). The next column over from each of these contains only formulas. For instance, column C is mixed, column D is formula only, column E mixed, and so on. Spreadsheet is protected with only cells designated for data entry unlocked; these also have a yellow fill.
When I have a "mixed" column (or any cell in that column)selected, I need a macro which will:
1) Select the data cells, cut the data, and move it over 2 columns (ie to the next "mixed" column). The cells receiving the data should be empty; if possible the macro should alert the user if they do already contain data and provide the option to cancel the process.
Thanks.