Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Sun, 30 Aug 2009 03:03:06 -0700, Hazel
. wrote: Hi Mike Thanks for the quick reply having a problem with your macro Sub sonic() Set MyRange = Range("I2:o200") For Each c In MyRange If IsNumeric(c) And Len(c) 0 Then !!!c.Value = WorksheetFunction.Choose(c.Column, 0, 0, 0, 0, 0, 0, 0, 0, "A", "B", "C", "D", "E", "F", "G")!!! fonts on these two lines all in red 'am I missing something??? End If Next End Sub It's a problem with copying the code from a Usenet posting; you sometimes pick up unintended line breaks. Make sure that you get rid of the line break between the last 0, and the "A" so that it all appears on the one line. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using TEXT and &TEXT - display numbers with commas, underline text | Excel Discussion (Misc queries) | |||
VLOOKUP should compare numbers stored as text to plain numbers. | Excel Worksheet Functions | |||
Convert numbers stored as text to numbers Excel 2000 | Excel Discussion (Misc queries) | |||
How to convert Excel imported numbers from text to numbers? | Excel Discussion (Misc queries) |