2 Quick Questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

Two questions (for now!)

1. Is there any reason when recording a macro that I should NOT use
shortcut keys - either Ctrl + C or right-click and delete row, for example -
as opposed to using the menus?

2. When VBA code refers to relative cells by using offset, for example
ActiveCell.Offset(1,0).Range("A1:A3").Select
I know that the offset means one row down in same column (from active cell);
I assume the rest means that from that cell (let's say it's cell A20) select
what it deems as A1:A3, which is really A20:A22.

Thanks!
 
Dee

Correct on both counts, the second one is using the range property of the
range object which is defining what could be determined as a range within a
range.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
(e-mail address removed)
 

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