Serving the Quantitative Finance Community

Search found 84 matches

by LawfulEvil
March 22nd, 2006, 5:49 am
Forum: Programming and Software Forum
Topic: Annnoying Excel Question re: Arrays
Replies: 4
Views: 113996

Annnoying Excel Question re: Arrays

Sub aaa()Set a = Range("A2:A11")temp_data = aEnd Subtemp_data will have an array of 1 to 10
by LawfulEvil
March 21st, 2006, 1:24 am
Forum: Programming and Software Forum
Topic: Hello World in all Languages, post here
Replies: 156
Views: 195559

Hello World in all Languages, post here

SIM:errormessage = display message on screen other stream output? text file, printer
by LawfulEvil
March 20th, 2006, 2:10 am
Forum: Programming and Software Forum
Topic: Hello World in all Languages, post here
Replies: 156
Views: 195559

Hello World in all Languages, post here

SIMerrormessage "hello world"
by LawfulEvil
March 20th, 2006, 2:10 am
Forum: Programming and Software Forum
Topic: Hello World in all Languages, post here
Replies: 156
Views: 195559

Hello World in all Languages, post here

DOS batchecho hello world
by LawfulEvil
March 17th, 2006, 7:07 am
Forum: Programming and Software Forum
Topic: Vba sorting question
Replies: 3
Views: 116012

Vba sorting question

<t>i got a table of data in temp_datathe size is 45000 + rows, 12 columnsi want to do a sorting in this temp_data(45000,12) via vbait will be a very time consuming task to use a bubble sortI know I can use the following method1. load table into excel worksheet2. sort3. read it back into temp_data()t...
by LawfulEvil
March 13th, 2006, 2:21 am
Forum: Programming and Software Forum
Topic: Vba sorting question
Replies: 3
Views: 116012

Vba sorting question

<t>Dear all,How can load a table of data into a range and apply excel's sorting function?I know I can write a bubble sort to do it but I don't want to use bubble sort in this case.I don't want to open a new worksheet, load all data, sort, and read all data, time consuming... e.g.dim temp_data(3,2) a...
by LawfulEvil
May 18th, 2005, 3:06 am
Forum: Programming and Software Forum
Topic: MS Outlook Question
Replies: 1
Views: 148609

MS Outlook Question

<t>Dear all,I'm using outlook 97 and I received a email send by outlook express 6 with 5Mb attachment filewhen he send the email , he use outlook express function: "split large email when the size > 1024k" now i receive 7 emails with attachmentATT00000.att; number=1; total=7toATT00006.att; number=7;...
by LawfulEvil
March 18th, 2005, 12:19 am
Forum: Programming and Software Forum
Topic: Possible to Read Excel Worksheet data without open it?
Replies: 4
Views: 156720

Possible to Read Excel Worksheet data without open it?

Thank you.The function can get 1 cell's value, not an arrayI think I should stick with open the workbook and read data...
by LawfulEvil
March 17th, 2005, 8:52 am
Forum: Programming and Software Forum
Topic: Possible to Read Excel Worksheet data without open it?
Replies: 4
Views: 156720

Possible to Read Excel Worksheet data without open it?

<t>Dear all,When I write macros in excel vba, i need to open a excel file to read the index and do something...the codeWorkbooks.Open "c:\Conversion.xls"temp_data1 = Workbooks("Conversion.xls").Sheets("Data").UsedRangeworkbooks("Conversion.xls").close savechanges:=falseIs it possible to read all dat...
by LawfulEvil
February 5th, 2005, 2:14 am
Forum: Programming and Software Forum
Topic: VBA Autofilter question
Replies: 1
Views: 160627

VBA Autofilter question

Dear all,How can i get the result from excel autofilter?for example: Cells.AutoFilter Field:=2, Criteria1:="aaa" Cells.AutoFilter Field:=3, Criteria1:="bbb"it return 10 rowshow can i get these 10 rows into variant?
by LawfulEvil
January 14th, 2005, 5:16 am
Forum: Programming and Software Forum
Topic: VBA format function
Replies: 2
Views: 163233

VBA format function

excellent! I can remove all those "for loop" now.thank you rblaser
by LawfulEvil
January 13th, 2005, 12:53 am
Forum: Programming and Software Forum
Topic: VBA format function
Replies: 2
Views: 163233

VBA format function

<t>Dear all,If i want to format a string "123" into "0000000123"I will use '--------------------newStr = format("123", "0000000000")'--------------------but what if the length of string will change over time?example:myZero = textbox1.textfor i = 1 to len(myzero)aaa=aaa & "0"next inewStr = format...
by LawfulEvil
December 9th, 2004, 12:17 am
Forum: Programming and Software Forum
Topic: VBA date problem
Replies: 6
Views: 167197

VBA date problem

the date is come from a text file.it work now, DateSerial work well Thanks germoz
by LawfulEvil
December 8th, 2004, 12:04 am
Forum: Programming and Software Forum
Topic: VBA date problem
Replies: 6
Views: 167197

VBA date problem

<t>actually i try this already...if the system time format set as yyyy/M/dSub Germoz()a = "06-12-2004"MsgBox (Format(DateSerial(Year(a), Month(a), Day(a)), "dd-mmm-yyyy"))End Subwill return 12-Jun-2004 '<-- wrongif the system time format set as dd-mm-yyyySub Germoz()a = "06-12-2004"MsgBox (Format(Da...
by LawfulEvil
December 7th, 2004, 7:51 am
Forum: Programming and Software Forum
Topic: Beginner's question: VBA != Pascal?
Replies: 5
Views: 168400

Beginner's question: VBA != Pascal?

Compare with C & VBA,If u want to pump a huge amount of data in/out VBA in 1 shot... it will die easily.C can handle this problem better.