View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Markus Scheible[_2_] Markus Scheible[_2_] is offline
external usenet poster
 
Posts: 95
Default Regular expressions in Excel?

Hi Anita,

how many different currencies can be used within the local
sheets? If there are just a few possibilities, you can
search for them with the Find method... but that won't
make sense if there may be more than a few of them...

Like:

If Range("commentrange").Find(what:="Yen") Is Not Nothing
Then

..
..

Else

End If


HTH

Best

Markus



-----Original Message-----
Hi,

Monthly I have to convert comments from a local currency

sheet to a US
dollar sheet in an excel file. In the comments the local

currency is
often expressed. I need the value to be in US dollars

when it appears
on the US dollar sheet. Is there a way to search the

text to find the
local currency amounts and use a variable to convert that

to US dollars.

Thanks in advance for any help that you can provide. I'm

not betting
that I will get many answers to this one . . .

Regards,
Anita

.

 
ExcelBanter Database Error
Database Error Database error
The ExcelBanter database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.excelbanter.com home page, then try to open another page.
  • Click the Back button to try another link.
The www.excelbanter.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.