EDUCATED MONKEY
Board Regular
- Joined
- Jul 17, 2011
- Messages
- 218
XP Professional office 2003 <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
<o></o>
Having difficulty spotting my error, the code I am using was kindly given to me and I modified it for my needs, it is meant to places the data in the next available column which it does with the exception of column A, which is never filled and is left blank which causes some difficulty later in the process <o></o>
<o></o>
<o></o>
<o></o>
Sub MoveIsbns()<o></o>
'<o></o>
' MoveIsbns Macro<o></o>
' Macro recorded <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1:date Month="8" Day="1" Year="2011">01/08/2011</st1:date> by Peter Hayward<o></o>
'<o></o>
' Keyboard Shortcut: Ctrl+Shift+V<o></o>
<o></o>
<o></o>
With Worksheets("PROCESS_ISBN")<o></o>
.Range("F1:G1").EntireColumn.copy<o></o>
With Worksheets("ISBNs")<o></o>
.Cells(1, Columns.Count).End(xlToLeft).Offset(0, 1).PasteSpecial<o></o>
End With<o></o>
End With<o></o>
Application.CutCopyMode = False<o></o>
End Sub<o></o>
<o></o>
<o></o>
Having difficulty spotting my error, the code I am using was kindly given to me and I modified it for my needs, it is meant to places the data in the next available column which it does with the exception of column A, which is never filled and is left blank which causes some difficulty later in the process <o></o>
<o></o>
<o></o>
<o></o>
Sub MoveIsbns()<o></o>
'<o></o>
' MoveIsbns Macro<o></o>
' Macro recorded <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-comffice:smarttags" /><st1:date Month="8" Day="1" Year="2011">01/08/2011</st1:date> by Peter Hayward<o></o>
'<o></o>
' Keyboard Shortcut: Ctrl+Shift+V<o></o>
<o></o>
<o></o>
With Worksheets("PROCESS_ISBN")<o></o>
.Range("F1:G1").EntireColumn.copy<o></o>
With Worksheets("ISBNs")<o></o>
.Cells(1, Columns.Count).End(xlToLeft).Offset(0, 1).PasteSpecial<o></o>
End With<o></o>
End With<o></o>
Application.CutCopyMode = False<o></o>
End Sub<o></o>
Last edited: