Solved

Slight change to Currency Macro

Posted on 2013-11-28
12
172 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
Technology Partners: 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 500 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Array problem 6 49
Script/Formula to move data to another cell 6 23
delete blank rows in UsedRange using Excel VBA 4 30
Need adjust data counting 17 17
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

730 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