fiberboysa
Board Regular
- Joined
- Apr 25, 2012
- Messages
- 106
- Office Version
- 365
- Platform
- Windows
Hi All,
Well my need is quite unique because I want a macro to make another macro which will run on Microsoft Dynamics Great Plains. I will be brief to explain but if you want more info please let me know
Please consider the following example for explanation...
<tbody>
</tbody>I need a macro that can calculate the Total Amount from Amount column above when Voucher No. is same and then distribute them to 3 amounts separately on basis of Job Number column.
I use Mail Merge to do this work now but now I wish that it should be more automated. Please see these mail merge files which I currently use. Click Here To Download.
Now please select all text and Toggle Filed Codes and refer to the highlighted text in Word file downloaded from above link. Here Yellow text will be repeated until the amount is equal to total sum of one Voucher No. Highlighted in Green. In other words, The Yellow highlighted text will be repeated until Green highlighted text is equal to the sum of Cyan highlighted text.
This is complex for me but it should be simple for a programmer . I will try to explain it with a video as well if possible. Thanks in advance.
Well my need is quite unique because I want a macro to make another macro which will run on Microsoft Dynamics Great Plains. I will be brief to explain but if you want more info please let me know
Please consider the following example for explanation...
S. No. | Voucher No | Job Number | Amount |
1 | 3556 | A | 2500 |
2 | 3556 | A | 2500 |
3 | 3556 | B | 1000 |
4 | 3556 | B | 2000 |
5 | 3556 | C | 2000 |
<tbody>
</tbody>
I use Mail Merge to do this work now but now I wish that it should be more automated. Please see these mail merge files which I currently use. Click Here To Download.
Now please select all text and Toggle Filed Codes and refer to the highlighted text in Word file downloaded from above link. Here Yellow text will be repeated until the amount is equal to total sum of one Voucher No. Highlighted in Green. In other words, The Yellow highlighted text will be repeated until Green highlighted text is equal to the sum of Cyan highlighted text.
This is complex for me but it should be simple for a programmer . I will try to explain it with a video as well if possible. Thanks in advance.
Last edited: