View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Die_Another_Day Die_Another_Day is offline
external usenet poster
 
Posts: 644
Default CommandBar control ID help.

Range("A1:B2").Insert Shift:=xlDown
Range("A1:B2").Delete Shift:=xlUp
Range("A1:B2").Insert Shift:=xltoRight
Range("A1:B2").Delete Shift:=xltoLeft

HTH

Die_Another_Day
Dev wrote:
I am trying to find ID for "Shift Cells Right" and "Shift Cells Down".

When I copy and click on "Inset Copied Cells..." option, then it provides me
2 options "Shift Cells Right" and "Shift Cells Down". I am trying to capture
those actions.

Any help is really appreciated.

Thank you!!