LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Range Syntax

Hi. Appreciate if anyone can point out the error in the follwing statements
which work in the immediate window but keep turning up runtime error 1004 on
the second statement when I run the program:

Sheets("Cycle Data").Activate
Range("CR3:CX3").Resize(Range("CR2")).Select

Note that cell CR2 contains an integer. 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
Relative range syntax Bythsx-Addagio[_2_] Excel Programming 1 April 8th 09 10:16 AM
syntax - range name as a variable Peter Morris Excel Programming 3 August 4th 06 07:09 PM
Syntax help with range ZZBC Excel Programming 1 February 2nd 06 07:31 AM
Syntax to Set variable range Mike Fogleman Excel Programming 3 December 10th 05 09:11 PM
Range syntax Dr.Schwartz Excel Programming 4 May 27th 05 01:34 PM


All times are GMT +1. The time now is 09:00 AM.

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

About Us

"It's about Microsoft Excel"