LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 486
Default Ctrl+Shift+Enter for arrays

This should be a start for you. It converts all of the formulas in Column A
to array formulas. You just need to change Sheet1, A1 and A...

Sub MakeArray()
Dim wks As Worksheet
Dim rngToConvert As Range
Dim rngCurrent As Range

Set wks = Sheets("Sheet1")
With wks
Set rngToConvert = .Range(.Range("A1"), .Cells(Rows.Count,
"A").End(xlUp))
End With
For Each rngCurrent In rngToConvert
rngCurrent.FormulaArray = rngCurrent.Formula
Next rngCurrent
End Sub

--
HTH...

Jim Thomlinson


"chris100" wrote:


I'm not to sure myself Ed, and I don't fancy having to rewrite using sum
product.

What about using a procedure that when run, will go through a column of
cells, Ctrl shifting and entering until a blank is found? Unfortunately
I'm still pretty amateurish with looping and procedures...so anyone
have any ideas?

regards,

chris


--
chris100
------------------------------------------------------------------------
chris100's Profile: http://www.excelforum.com/member.php...o&userid=25166
View this thread: http://www.excelforum.com/showthread...hreadid=505031


 
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
Ctrl+shift+enter [email protected] Excel Worksheet Functions 9 March 26th 09 11:46 AM
What is Ctrl + Shift + Enter ? lawson Excel Discussion (Misc queries) 6 June 26th 07 08:17 PM
What does Ctrl+Shift+Enter do? How does it differ from Enter? George Furnell[_2_] Excel Programming 2 January 16th 06 06:43 AM
What does hitting Ctrl + Shift + Enter to enter a formula do??? Help a n00b out. qwopzxnm Excel Worksheet Functions 2 October 20th 05 09:06 PM
ctrl/shift/enter thru VBA Jason Morin[_2_] Excel Programming 7 May 5th 04 05:20 PM


All times are GMT +1. The time now is 04:21 PM.

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"