selecting adjacent cells

W

wfcmark

Hi,

new(ish) to excel and to this site (but have searched previous posts
for help
regularly).

Anyway, how do I select a cell, and then when hitting a button,
automatically select the next 2 cells in the row for pasting.

I am okay with the button, recording macros etc, but when I try to do
that,
it just shows select range in the VBA. What I need (I think!) is to
know how to extend selection by 2 cells.

The reason is so a selection is only one click and not several...

Hope this is clear!

Many thanks, Mark
 
G

Gord Dibben

Mark

ActiveCell.Resize(3).Select to grab 3 cells in one column.

ActiveCell.Resize(3, 3).Select to grab 9 cells in 3 columns.


Gord Dibben Excel MVP
 

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

Top