SteveOranjin
Board Regular
- Joined
- Dec 18, 2017
- Messages
- 170
Hello,
Hope you are well. I'm getting ok at this VBA stuff. But not that good.
So I have some code here that is designed to insert column next to a column that will always have the header, "MSRP".
If it returns finds a column with the header, "MSRP", what I want it to do is return the MAP policy do the user, and then allow the user to enter the MAP policy into a text entry field in a msg box. I want it to then populate all of the cells down to the last populated cell in the row.
Right now, all it does is it inserts the new column, and allows the user to insert the map policy.
The multiplier will usually be a decimal. Usually the way the multiplier is applied is (look below)
[TABLE="width: 500"]
<tbody>[TR]
[TD]MSRP
[/TD]
[TD]MAP[/TD]
[/TR]
[TR]
[TD]A2[/TD]
[TD]b2[/TD]
[/TR]
[TR]
[TD]2.00[/TD]
[TD]=A2*.75[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The way the pop up usually appears to the user, is something like this. Please see the image.
So if the map policy is 10 percent, then the user will enter .90 into the formula. It would be great if there were a way that into the text entry box, if we could have it so the user would enter .10 into the entry box if the map policy were .10. and it would multiply by .90. But that is not necessary if that is too much.
Hope you are well
http://www.mediafire.com/view/kfe5a4e07kcrk58/fdfdfdfdfdfdfdfdfdfdfdfdfd.png
Hope you are well. I'm getting ok at this VBA stuff. But not that good.
So I have some code here that is designed to insert column next to a column that will always have the header, "MSRP".
If it returns finds a column with the header, "MSRP", what I want it to do is return the MAP policy do the user, and then allow the user to enter the MAP policy into a text entry field in a msg box. I want it to then populate all of the cells down to the last populated cell in the row.
Right now, all it does is it inserts the new column, and allows the user to insert the map policy.
The multiplier will usually be a decimal. Usually the way the multiplier is applied is (look below)
[TABLE="width: 500"]
<tbody>[TR]
[TD]MSRP
[/TD]
[TD]MAP[/TD]
[/TR]
[TR]
[TD]A2[/TD]
[TD]b2[/TD]
[/TR]
[TR]
[TD]2.00[/TD]
[TD]=A2*.75[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
The way the pop up usually appears to the user, is something like this. Please see the image.
So if the map policy is 10 percent, then the user will enter .90 into the formula. It would be great if there were a way that into the text entry box, if we could have it so the user would enter .10 into the entry box if the map policy were .10. and it would multiply by .90. But that is not necessary if that is too much.
Hope you are well
http://www.mediafire.com/view/kfe5a4e07kcrk58/fdfdfdfdfdfdfdfdfdfdfdfdfd.png