Excel Macros

  • Thread starter Thread starter Paul Bond
  • Start date Start date
P

Paul Bond

What command should I use in an Excel visual basic macro to move the current
cell to the left by 1
 
Sub Macro1()
ActiveCell.Cut
ActiveCell.Offset(0, -1).Select
ActiveSheet.Paste
End Sub
 
Sub moveactivecell()
ActiveCell.Cut ActiveCell.Offset(, -1)
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top