• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Offset and Resize Selection on multiple cells

skmerrey

New Member
Hi Everyone,

I'm having trouble with a code, I'm using the below code to offset and resize the selected area from the selected/Active cell. It works perfectly when one cell is selected.

Selection.Offset(0, -7).Resize(1, 16).Select

I need to be able to use this on multiple cells that I select i.e Select H5, then Ctrl, click H8, H16, H19. Then this macro take effect on all four selected cells.

Can anyone help?
Thanks
Shaun
 
Back
Top