The image below will serve as the basis for what I am trying to achieve. Using a macro, within a row (selected by the user) I would like to locate a cell with a value and paste that value in the cell before and the cell after it. For example, I would like to have "1" copied into A1 and C1, "2" copied into D1 and F1, etc. I have used the following code to place the value in the preceding cell, but it breaks down when I try to apply it to the subsequent cell.
A B C D E F G H I 1 2 3
HTML Code:
Bookmarks