Serving the Quantitative Finance Community

Search found 8 matches

by BigBill
February 10th, 2003, 11:07 pm
Forum: Programming and Software Forum
Topic: Excel VBA row number
Replies: 13
Views: 190796

Excel VBA row number

I want to transfer to a variable name the row number on which a look up value is found. Example, a specified contract number is looked up in a Excel contract file using a VBA lookup routine and was found on Row 50 of the file spreadsheet. How do I grab this number?
by BigBill
October 22nd, 2002, 5:49 pm
Forum: Programming and Software Forum
Topic: Resizing 2-dimensional dynamic VBA arrays
Replies: 8
Views: 191264

Resizing 2-dimensional dynamic VBA arrays

Thanks for the tip and the example of transpose.
by BigBill
October 21st, 2002, 4:02 pm
Forum: Programming and Software Forum
Topic: Resizing 2-dimensional dynamic VBA arrays
Replies: 8
Views: 191264

Resizing 2-dimensional dynamic VBA arrays

<t>Thanks. I have read something in the past about transposing arrays but have not been able to find the source again. I thought there was a transpose instruction in VBA but haven't been able to find it. Ultimately, I solved my problem by resizing a two column array with an indefinite number of rows...
by BigBill
October 16th, 2002, 7:58 pm
Forum: Programming and Software Forum
Topic: Saturday Night Live and resizing 2-dimensional arrays -MYSTERY SOLVED
Replies: 2
Views: 189762

Saturday Night Live and resizing 2-dimensional arrays -MYSTERY SOLVED

I sure do. I think they're home base is somewhere in the northeastern US
by BigBill
October 16th, 2002, 12:44 pm
Forum: Programming and Software Forum
Topic: Saturday Night Live and resizing 2-dimensional arrays -MYSTERY SOLVED
Replies: 2
Views: 189762

Saturday Night Live and resizing 2-dimensional arrays -MYSTERY SOLVED

<t>Well, after much internet searching and re-reading my text on multi-dimensional array syntax for the 100th time, I discovered an example of the ReDim Preserve statement in a static array in which ArrayName(3, 8) could be resized (via ReDim) to ArrayName(3, 15) but not to ArrayName(5, 8) because o...
by BigBill
October 16th, 2002, 12:34 pm
Forum: Programming and Software Forum
Topic: Resizing 2-dimensional dynamic VBA arrays
Replies: 8
Views: 191264

Resizing 2-dimensional dynamic VBA arrays

Thanks for the comment. I have never used collections before. Will have to read up on them.BigBill
by BigBill
October 14th, 2002, 1:18 pm
Forum: Programming and Software Forum
Topic: Resizing 2-dimensional dynamic VBA arrays
Replies: 8
Views: 191264

Resizing 2-dimensional dynamic VBA arrays

<t>Dominic:Thanks for your helpful reply. I'm using Excel 2000 9.0.The application fragment I'm writing involves processing credit invoices in an accounting system. Out of 100 transactions in a date range batch there are few credit transactions, therefore, I chose to add a row in the credit array wi...
by BigBill
October 13th, 2002, 6:37 pm
Forum: Programming and Software Forum
Topic: Resizing 2-dimensional dynamic VBA arrays
Replies: 8
Views: 191264

Resizing 2-dimensional dynamic VBA arrays

<t>I have been searching the Internet and other resources for a practical example of how to solve a problem with two dimensional arrays. More particularly, assume MyArray() is to have two columns but the number of rows of data are yet unknown. The essence of the coding situation is:Option Base 1Dim ...