Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Bulk change cells to Array Formula

I have a sheet with several hundred cells which are filled with array
forumlas. The problem is that none of the formulas have been entered
by using CRTL-SHIFT-ENTER. Does anyone know of a VBA function which
can be used to set all of these cells to Array forumlas?

Thanks,
Justin

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 341
Default Bulk change cells to Array Formula

Here is a macro to help you.

Sub ConvertToArray()
Dim myrange As Range, thiscell As Range
Set myrange = Application.InputBox("Select range", , , , , , , 8)
For Each thiscell In myrange
thiscell.FormulaArray = thiscell.Formula
Next thiscell
End Sub

You just need to paste that text into a module in your workbook.
Press Alt-F11 for the VB editor, do insert module and paste it in there.

Then go back to excel, do tools macros and run the one called ConvertToArray.

--
Allllen


" wrote:

I have a sheet with several hundred cells which are filled with array
forumlas. The problem is that none of the formulas have been entered
by using CRTL-SHIFT-ENTER. Does anyone know of a VBA function which
can be used to set all of these cells to Array forumlas?

Thanks,
Justin


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
SUMPRODUCT clue needed Dallman Ross Excel Discussion (Misc queries) 5 September 25th 06 12:29 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
How can I create an array formula for non-sequential cells Sue Excel Worksheet Functions 7 May 21st 05 02:32 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 05:23 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"