Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to activate all cells in a range

If I have a large matrix of cells that all need to be activated, i
there a macro I can use that will allow me to highlight the range an
activate them all at once

I think someone posted something like this about six months ago

If you know how to write a macro like this, please help

Thanks
Kat
--------
Message sent via www.excelforums.com
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 618
Default Macro to activate all cells in a range

Hi Kate

not sure what you mean by "activate" the cells ... could you provide a few
more details as to what you want to achieve.

Cheers
JulieD

"modelergirl - ExcelForums.com"
wrote in message ...
If I have a large matrix of cells that all need to be activated, is
there a macro I can use that will allow me to highlight the range and
activate them all at once?

I think someone posted something like this about six months ago.

If you know how to write a macro like this, please help!

Thanks,
Kate
---------
Message sent via www.excelforums.com



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to activate all cells in a range

What is your definition of "activate" them. If you highlight them, you have
selected them and one cell will be the active cell (only one cell can be the
activecell).

--
Regards,
Tom Ogilvy

"modelergirl - ExcelForums.com"
wrote in message ...
If I have a large matrix of cells that all need to be activated, is
there a macro I can use that will allow me to highlight the range and
activate them all at once?

I think someone posted something like this about six months ago.

If you know how to write a macro like this, please help!

Thanks,
Kate
---------
Message sent via www.excelforums.com



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Macro to activate all cells in a range

Sorry, should have clarified

I am trying to activate matrix formulas in the cells, which would b
done cell by cell using F2+Shift+Enter
--------
Message sent via www.excelforums.com
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to activate all cells in a range

set rng = Range("B9:F30")
rng.formula = "=trunc(rand()*100+1)"

change the formula to the one you want activated.

--
Regards,
Tom Ogilvy




"modelergirl - ExcelForums.com"
wrote in message ...
Sorry, should have clarified.

I am trying to activate matrix formulas in the cells, which would be
done cell by cell using F2+Shift+Enter.
---------
Message sent via www.excelforums.com



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
Activate cell at end of range G Setting up and Configuration of Excel 2 November 22nd 05 04:10 PM
Using a Macro to find a value in a range and activate it Travis Excel Programming 4 April 8th 04 08:49 PM
use of range and activate crichardson Excel Programming 4 March 2nd 04 03:29 PM
How to activate array formulas in a range of cells all at the same time? Karenna Excel Programming 3 February 29th 04 11:30 PM
range.activate Rune_Daub[_16_] Excel Programming 1 February 12th 04 06:55 PM


All times are GMT +1. The time now is 06:10 PM.

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"