Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to pass a number format to a variable. The following code is no
working: Sub CurrencyPick() Dim CurrencyFormat As String CurrencyFormat = [($"US" #,##0_);[Red]($#,##0)] I am getting a type mismatch error. I think there is a problem wit either a lack of quotes or brackes. Or my variable declaration is o the wrong type. Can anyone tell me what wrong here? Thank-you -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Passing Variable Number of Arguments to a Sub | Excel Discussion (Misc queries) | |||
Passing Variable to LINEST | Excel Worksheet Functions | |||
passing variable to file... | Excel Programming | |||
Passing variable from one sub to another | Excel Programming | |||
Question: Macro overloading, passing variable number of arguments | Excel Programming |