![]() |
|
#1
|
|||
|
|||
![]() What is the proper syntax to convert a cell in which a number is stored as text and a negative number is displayed in parenthesis e.g. "(145.50)" to a format in which a negative number is displayed with a negative sign prefix e.g. "-145.50"? The code below gives me this Run-time error: Method 'Range' of object '_Global' failed. Code:
With sht .Range("K2:N" & lastrow).NumberFormat = "General" End With |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Dave T | Excel Programming | 1 | 06-01-2016 08:58 PM |
![]() |
porpoiseoil | Word | 1 | 09-13-2014 12:53 PM |
IF statement - number range | irhut | Mail Merge | 1 | 02-11-2014 11:20 PM |
Change from General Format to number format | gbaker | Excel | 3 | 08-16-2013 01:04 PM |
![]() |
jyfuller | Excel | 10 | 06-19-2013 05:31 PM |