Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 46
Default Cell designation

I heard that "Range" can be eliminated in designating a range of cells
by just enclosing the range in brackets.

Range("A1:C2") can be replaced by ["A1:B2"]

I can't get it to work. What am I doing wrong?

Also is there a source to show the ways that cells may be designated?

Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 695
Default Cell designation

[A1:B2]





"Ed" skrev:

I heard that "Range" can be eliminated in designating a range of cells
by just enclosing the range in brackets.

Range("A1:C2") can be replaced by ["A1:B2"]

I can't get it to work. What am I doing wrong?

Also is there a source to show the ways that cells may be designated?

Ed

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Cell designation

Try leaving out the " " 's
Like [A1:B2]


"Ed" wrote in message
:

I heard that "Range" can be eliminated in designating a range of cells
by just enclosing the range in brackets.

Range("A1:C2") can be replaced by ["A1:B2"]

I can't get it to work. What am I doing wrong?

Also is there a source to show the ways that cells may be designated?

Ed


  #4   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 46
Default Cell designation

Thanks to both.

Ed




On Sat, 17 Jun 2006 21:07:09 +0000, "JimMay" wrote:

Try leaving out the " " 's
Like [A1:B2]


"Ed" wrote in message
:

I heard that "Range" can be eliminated in designating a range of cells
by just enclosing the range in brackets.

Range("A1:C2") can be replaced by ["A1:B2"]

I can't get it to work. What am I doing wrong?

Also is there a source to show the ways that cells may be designated?

Ed

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Cell designation

in my research, this is 7 times slower than using range - it varies based
on the context of the usage. Maybe it is more obvious if you use the
equivalent

set rng = Evaluate("A1:B2")

--
Regards,
Tom Ogilvy

"Ed" wrote in message
...
I heard that "Range" can be eliminated in designating a range of cells
by just enclosing the range in brackets.

Range("A1:C2") can be replaced by ["A1:B2"]

I can't get it to work. What am I doing wrong?

Also is there a source to show the ways that cells may be designated?

Ed





Reply
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
separate names and designation from one cell into 2 colmun Khoshravan Excel Discussion (Misc queries) 7 March 3rd 09 09:38 PM
cell designation wickd03 Excel Discussion (Misc queries) 5 March 23rd 06 08:49 PM
Columns with # designation swynne Excel Discussion (Misc queries) 3 December 28th 05 04:21 PM
Invisible Text designation in cell? mshanaha Excel Worksheet Functions 0 June 30th 05 05:01 PM
Specific Row Designation Larry Excel Programming 2 June 9th 05 06:52 PM


All times are GMT +1. The time now is 07:39 AM.

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"