Solved

Slight change to Currency Macro

Posted on 2013-11-28
12
173 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

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

Independent Software Vendors: 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!

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

696 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