Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 347
Default Convert to Euro - Accounting Format

Dear friends,

I use the following macro in order to change my data into euro amounts.

Public Const Euro As Double = 0.585274

Sub ConvertEuro()
Dim MyCell As Range
For Each MyCell In Selection
If IsNumeric(MyCell) And MyCell < "" Then
'And MyCell.HasFormula = False Then
MyCell.Value = Application.Round(MyCell.Value / Euro, 2)
MyCell.NumberFormat = "‚¬0.00"
End If
Next MyCell
End Sub

Is there any possibility to set the NumberFormat to Accounting or Currency?
The ideal should be to be asked and then to select either Accounting or
Currency Format.

Thanking you in advance,

GeorgeC
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Euro symbol using Accounting format in Excel Anthony Setting up and Configuration of Excel 1 August 9th 07 08:14 AM
How do I convert euro to us dollars in excel? Tanya Charts and Charting in Excel 1 July 16th 06 03:04 PM
I want to convert USD to Euro? ledireland Excel Discussion (Misc queries) 0 March 27th 06 12:07 AM
I want to convert USD to Euro? Toppers Excel Discussion (Misc queries) 0 March 26th 06 11:45 PM
how do i convert EURO to GBP? Angie Setting up and Configuration of Excel 0 October 31st 05 03:42 PM


All times are GMT +1. The time now is 05:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"