D
Dinsdale
Hi Everyone,
I have created several templates, some of which import blocks of text
and fields from master documents. In one instance, I am importing a
table containing fields (one being a dropdown) which takes the form of
an invoice. All the fields are calculating correctly except the invoice
line item dropdown. On the original, it works fine - once imported it
stops working. I have created the following code which generates Error
4241: Object required.
Dim UnitPrice1
Select Case LinePrice2
Case UnitPrice1.Value = 25.5
LinePrice2 = Qty1 * 25.5
Case UnitPrice1.Value = 32
LinePrice2 = Qty1 * 32
Case UnitPrice1.Value = 120
LinePrice2 = Qty1 * 120
End Select
I have created several templates, some of which import blocks of text
and fields from master documents. In one instance, I am importing a
table containing fields (one being a dropdown) which takes the form of
an invoice. All the fields are calculating correctly except the invoice
line item dropdown. On the original, it works fine - once imported it
stops working. I have created the following code which generates Error
4241: Object required.
Dim UnitPrice1
Select Case LinePrice2
Case UnitPrice1.Value = 25.5
LinePrice2 = Qty1 * 25.5
Case UnitPrice1.Value = 32
LinePrice2 = Qty1 * 32
Case UnitPrice1.Value = 120
LinePrice2 = Qty1 * 120
End Select