Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello
Im trying to read a range of entries, but Im not sure how this works. Under the excel objects in "this workbook" I wrote: Public Sub Workbook_Open() Dim i As Single Dim j As Single Dim myarray(18, 10) For i = 1 To 18 For j = 1 To 10 myarray(i, j) = Worksheets("schedule").Cells(i + 3, Chr(68 + j)) Next Next End Sub After in sheet1 I try to display the myarray to see if it was read but doesnt work. Can anyone help me with this? Im also not sure how to pass variables between sheets, I can only do it within the same sheet. Any help is greatly appreciate. This newsgroup has helped me alot Thank you Mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Workbook_Open () | Excel Discussion (Misc queries) | |||
Workbook_Open() will not run | Excel Programming | |||
Workbook_Open | Excel Programming | |||
workbook_open | Excel Programming | |||
Workbook_Open | Excel Programming |