Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Slight change to Currency Macro

Posted on 2013-11-28
12
Medium Priority
?
176 Views
Last Modified: 2013-12-09
EE Pros,

Ssaqibh wrote a very useful Currency Update Macro for me.  

I have one change to make.  The Attached Workbook works fine except the Currency update, within the WS/WB needs to take place WHEN THE CURRENCY IS SELECTED.  What happens now is that when you fire the macro, it both updates the Currency Selection as well as updates the Currency Table.  What I need is for the Currency to change Within the WB/WS and then when you fire the macro by the button, it then does the table update.

That's it!

Thank you in advance.
Currency-Update-and-Displayv4.xlsm
0
Comment
Question by:Bright01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 22

Expert Comment

by:Flyster
ID: 39684502
Here's an alternate solution to your macro. On sheet "Customer-Input", I added a combo box. The customer enters a value in C9 and selects the currency type in the combo box. Once selected, the value in C9 is automatically entered into Currency!K4, which is automatically formatted to the selected currency. Cells K5:T5 will then reflect the corresponding values. I wasn't sure, however, how the value on sheet "Price Quote" comes into play.

Flyster
Currency-Update-and-Displayv4.xlsm
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 39684705
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 39684728
No this is a subsequence of the last comment on that question
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Bright01
ID: 39685282
Flyster,

Thanks for the update.  Unfortunately, I can't get the new macro to work.  I get an script out of range error.

The old macro worked fine except for the slight change.  Can we start with that?  

Otherwise, I'm back into troubleshooting mode.  

All I need is to take the original macro and change it to update the Worksheet (without updating the Currency from MS Money) when selecting the currency on the first WS (F2).  

Then when the Update Macro is fired from the button on the Currency Tab, it updates the currency amounts to reflect the latest from MS Money - Currency.  Right now it does both; but only when you fire the Update Macro.

B.
Currency-Update-and-Displayv5.xlsm
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 39685387
B,
Let me know if this is what you're looking for.  When you update the value in F2 of the first sheet, it updates the formatting in the highlighted cells on sheet 1 and 2.

The values in the table on sheet 3 are not touched unless you trigger the macro that was previously designed by the other expert.

Sean


Note: I had to update your column reference on sheet 3... you referenced "Customer - Inputs!C9" and there are no spaces in your worksheet.  The new value is "Customer-Inputs!C9".
0
 
LVL 11

Accepted Solution

by:
SeanStrickland earned 2000 total points
ID: 39685390
0
 

Author Comment

by:Bright01
ID: 39686817
Sean,

Thank you and ........Almost!  Check sheet 3 Currency and cells I4 and I5.  When you change the Currency on the Customer-Input screen, you have the right idea in picking up the new currency and formatting it correctly.  HOWEVER, the source for the update should come from Currency cells I4 and I5 (as a Range so I can scale it beyond I5).  So the "Value in Current Currency" is the Currency you have selected on WS "Customer-Inputs" and then THAT VALUE is displayed in the other two WSs.  

Make sense?

B.
0
 

Author Comment

by:Bright01
ID: 39689369
Sean,

You there?

B.
0
 

Author Comment

by:Bright01
ID: 39697717
Sean,

You OK?

B.
0
 

Author Closing Comment

by:Bright01
ID: 39698660
Sean,

I went back and reexamined what you wrote here and this will work!  Thank you!

B.
0
 
LVL 11

Expert Comment

by:SeanStrickland
ID: 39698985
Sorry, went out of town for the week.  Glad that helped. :)
0
 

Author Comment

by:Bright01
ID: 39706009
Sean,

Greetings!  I have posted a request for a slight change to the macro.  Hope you have time to pick it up...... should be a relatively simple change.

Thanks again,

B.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question