Hi,
I need to do the following macro:
I have one shipment report, where I put the quantity (in Metric tons) that I sent to each place. One place is our warehouse, and I need, if the lot appear like delivered, one macro to show the number of lots delivered in other range.
The table is the following:
[TABLE="width: 299"]
<colgroup><col><col span="2"><col></colgroup><tbody>[TR]
[TD="colspan: 4"] Whs[/TD]
[/TR]
[TR]
[TD]Lot[/TD]
[TD]Allocated[/TD]
[TD]In[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD]XXY 0101[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0102[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0103[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0104[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0105[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0106[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0107[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0108[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0109[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0110[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0111[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0112[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0113[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0114[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0115[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0116[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0117[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0118[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0119[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0120[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0121[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And I need, if the Balance show "D", the values (XXY 0120 in example) copied in other place. If this possible?
Thanks
I need to do the following macro:
I have one shipment report, where I put the quantity (in Metric tons) that I sent to each place. One place is our warehouse, and I need, if the lot appear like delivered, one macro to show the number of lots delivered in other range.
The table is the following:
[TABLE="width: 299"]
<colgroup><col><col span="2"><col></colgroup><tbody>[TR]
[TD="colspan: 4"] Whs[/TD]
[/TR]
[TR]
[TD]Lot[/TD]
[TD]Allocated[/TD]
[TD]In[/TD]
[TD]Balance[/TD]
[/TR]
[TR]
[TD]XXY 0101[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0102[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0103[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0104[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0105[/TD]
[TD]20[/TD]
[TD] [/TD]
[TD]-20 [/TD]
[/TR]
[TR]
[TD]XXY 0106[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0107[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0108[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0109[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0110[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0111[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0112[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0113[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0114[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0115[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0116[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0117[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0118[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]XXY 0119[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0120[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]XXY 0121[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
And I need, if the Balance show "D", the values (XXY 0120 in example) copied in other place. If this possible?
Thanks