LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Compile Error: Wrong arguments or Invalid property

Excel 2003; Windows XP SP2

Good day,

I am working on some VBA subs and I keep getting a error when I try to run a
sub that tries to select a range of cells

I see:

"Compile Error.

Wrong number of arguments or Invalid property assignment."

I even tried just a really basic macro and having Excel record the macro and
do the code for me. I pressed record, and then selected a range of cells in a
single column and then pressed stop recording.

I looked at the code and this is the code that was written:
Range("M2:M20").Select

I try to run this macro and I get the same error.

Any ideas?

Please advise.

Thanks,
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nested IF's with Logical Arguments - Doing something wrong here ConfusedNHouston Excel Discussion (Misc queries) 1 December 1st 06 03:04 AM
Nested IF's with Logical Arguments - Doing something wrong here PapaDos Excel Discussion (Misc queries) 0 November 30th 06 05:13 PM
Nested IF's with Logical Arguments - Doing something wrong her Dave F Excel Discussion (Misc queries) 0 November 30th 06 04:44 PM
Nested IF's with Logical Arguments - Doing something wrong her ConfusedNHouston Excel Discussion (Misc queries) 0 November 30th 06 04:36 PM
Nested IF's with Logical Arguments - Doing something wrong here Dave F Excel Discussion (Misc queries) 0 November 30th 06 04:03 PM


All times are GMT +1. The time now is 03:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"