I am trying to trim the entire active row. Currently the macro is only trimming row 4 if my cell is in row 4.
Sub Trim()
'
' Trim Macro
'
' Keyboard Shortcut: Ctrl+t
'
[4:4] = [if(4:4<>"",trim(4:4),"")]
End Sub
Also, can anyone help create a macro that will trim all data in row 3 -- and then delete rows 1,2, and 4?
<colgroup><col><col span="8"></colgroup><tbody>
</tbody>
Sub Trim()
'
' Trim Macro
'
' Keyboard Shortcut: Ctrl+t
'
[4:4] = [if(4:4<>"",trim(4:4),"")]
End Sub
Also, can anyone help create a macro that will trim all data in row 3 -- and then delete rows 1,2, and 4?
<colgroup><col><col span="6"></colgroup><tbody> </tbody> |
<colgroup><col><col span="8"></colgroup><tbody>
</tbody>