LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default syntax qustion

Sub Button1_Click()
Dim xVar(1 To 4, 1 To 3)
For k = 1 To 4
ax = k + 1: bx = k + 2: cx = k + 5
xVar(k) = Array(ax, bx, cx)' error
Next
[a2:c5].Value = xVar
End Sub

this code figure out error.
i want to work fast performance. and thus,
i want to run without for loop.

xVar(k,1 to 3) = Array(ax, bx, cx)
or
xVar(k,1:3) = Array(ax, bx, cx)

how can i syntax?????





*** Sent via Developersdex http://www.developersdex.com ***
 
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
workbook qustion brfrench Excel Discussion (Misc queries) 1 May 10th 10 07:10 PM
A Challenging Charting Qustion - Are there any Brainiacs Among Us? Ken Newberger Charts and Charting in Excel 2 November 27th 09 09:47 PM
one qustion ri_mirko Excel Worksheet Functions 1 June 4th 08 08:32 PM
Newbie Qustion- how to divide sum of series by half? [email protected] Excel Discussion (Misc queries) 2 May 15th 06 01:16 PM
Calculation Qustion Goofy Excel Worksheet Functions 1 March 6th 06 03:48 PM


All times are GMT +1. The time now is 03:14 AM.

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"