Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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
Posted to microsoft.public.excel.misc
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
SUMPRODUCT clue needed | Excel Discussion (Misc queries) | |||
Custom functions calculating time arguments Help Desperate | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
How can I create an array formula for non-sequential cells | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |