Macro To Make A Microsoft Dynamics Great Plains (GP) Macro :)

fiberboysa

Board Regular
Joined
Apr 25, 2012
Messages
106
Office Version
  1. 365
Platform
  1. 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...
S. No.Voucher NoJob NumberAmount
13556A2500
23556A2500
33556B1000
43556B2000
53556C2000

<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.
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
S. No.Voucher NoJob NumberAmount
13556A2500
23556A2500
33556B1000
43556B2000
53556C2000
63557D1577ABCDEFGH
73557D1611355650003000200000000
83557E1645355700031883324171300
93557E1679355800000174735963732
103557F171327300
113558F1747
123558G1781
133558G1815
143558H1849
153558H1883
27300IT IS VERY EASY TO EXTRACT THE TOTALS
can you give more info on what you want please

<colgroup><col width="64" span="19" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Thanks for your reply :)
I will make a video to explain what i want and than share it with you to tell u what i want. Please give me time till this weekend. Thanks again!
 
Upvote 0
you cannot post videos on here and I and many others never download

explain it using a simple spreadsheet
 
Upvote 0
It will be just 2 - 3 min video not long. Actually I need to show you the flow of data to explain what i need. If not i will use images.
 
Upvote 0
use my post #2 to further define what you want

and then distribute them to 3 amounts separately on basis of Job Number column. THIS IS WHAT I DO NOT UNDERSTAND

guessing - you want to end up with 3556 A 5000
 
Upvote 0
I have sent you the video. Please have a look and let me know if you have got what i want. Thanks!
 
Upvote 0
I am glad to know that :)
The thing I said in "and then distribute them to 3 amounts separately on basis of Job Number column" is that yellow highlighted text in MS Word file should repeat itself 3 times for Journal Entry No. 35582 and than 1 time for Journal Entry No. 35583 and than 2 times Journal Entry No. 35584. I have made another video which I am sharing here to let all people know what I want. @oldbrewer please view Explanation 2. Thanks again!

Explanation 1
https://www.youtube.com/watch?v=UspgqoP_EZg

Explanation 2
https://www.youtube.com/watch?v=6UQGwR3V3Zw
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,256
Members
449,149
Latest member
mwdbActuary

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top