Cannot .select

  • Thread starter Thread starter JeffMelton
  • Start date Start date
J

JeffMelton

I've just started getting this problem and I don't have a clue what
the issue is, maybe someone here knows whats going on.

I'm trying something like this, which is a very simple code, in fact
it was created my the macro recorder while I was shifting some stuff
around. In fact I've had it happen with hand written code as well,
not that it matters because its the same code.

Rows("2:2").Select
Range("C2").Activate
Selection.Insert Shift:=xlDown



I'm getting select method of Range class failed #1004, does anyone
know whats going on?
 
Sorted, I'm an idiot. I had the code inside a worksheet that used
another sheet.
 

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