Hello good day, could you help me someone to solve the following case, I will be very grateful.
In a list of data, there is this information that is variable:
Description |Amount1|Amount2|Amount3
Ball-Point Pens | $85| $200| $50
T-Shirts | $150| $80| $100
Tea cups | $50 |$100| $200
The following code (MBS XL Plugin) I try to insert automatically the content of the list data, this content can vary from 10 to 200 records or more.
I appreciate the help!
Use google translator
sheet = book.AddSheet("Rec")
call sheet.WriteString(2, 1, "Rec No. 0001", titleFormat)
call sheet.WriteString(4, 1, "Name: NAME")
call sheet.WriteString(5, 1, "Address: San Ramon, CA 94583 USA")
call sheet.WriteString(7, 1, "Description", headerFormat)
call sheet.WriteString(7, 2, "Amount1", headerFormat)
call sheet.WriteString(7, 3, "Amount2", headerFormat)
call sheet.WriteString(7, 4, "Amount3", headerFormat)
[b]call sheet.WriteString(8, 1, "Ball-Point Pens", descriptionFormat)
call sheet.WriteNumber( 8, 2, 85, amountFormat)
call sheet.WriteNumber( 8, 3, 200, amountFormat)
call sheet.WriteNumber( 8, 4, 50, amountFormat)
call sheet.WriteString(9, 1, "T-Shirts", descriptionFormat)
call sheet.WriteNumber( 9, 2, 200, amountFormat)
call sheet.WriteNumber( 9, 3, 80, amountFormat)
call sheet.WriteNumber( 9, 4, 100, amountFormat)
call sheet.WriteString(10, 1, "Tea cups", descriptionFormat)
call sheet.WriteNumber( 10, 2, 50, amountFormat)
call sheet.WriteNumber( 10, 3, 100, amountFormat)
call sheet.WriteNumber( 10, 4, 200, amountFormat)[/b]