Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Berrie,
Here is a VB example: Function myfunc() As Variant Dim arr(9, 9) As String, i As Long, j As Long For i = 0 To 9 For j = 0 To 9 arr(i, j) = CStr(i & ", " & j) Next Next myfunc = arr End Function Select 10 by 10 cells: =myfunc() CTRL+SHIFT+ENTER Rob "berrie" wrote in message ... Does anyone know, how to write an array into a sheet with c++ (vb). To let excel know that the range is an array, you have to use the ctrl+shift+enter combination. How can this be done with c++ (vb). |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Allow only writing in a protected Sheet | Setting up and Configuration of Excel | |||
Writing formulas between sheet | Excel Discussion (Misc queries) | |||
writing macros in excel sheet | Excel Worksheet Functions | |||
Writing Array Formulas in VBA | Excel Programming | |||
VBA: Writing an array function (like MMult) | Excel Programming |