Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I really appreciate your help!!
I am trying to replicate this formula down the entire column in a macro. However I continually get a compile error when it runs into the equation, particularly the "period" ("."). How do you get quotes into a statement to paste into a cell?? this is the code I am useing: Range("D1").Select ActiveCell.Formula = "=IF(ISERROR(SEARCH(".",$C1,1)),$C1,MID($C1,1,SEAR CH(".",$C1,1)-1))" Range("D1").Select Selection.Copy Range(Selection, Selection.End(xlDown)).Select ActiveSheet.Paste Application.CutCopyMode = False -- Thank you |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What's causing error message? | Excel Worksheet Functions | |||
What's causing error message? | Excel Programming | |||
Single quote in filename causing problems | Excel Programming | |||
#NAME? error with MSN stock quote function | Excel Discussion (Misc queries) | |||
VLOOKUP Formula causing an error | Excel Discussion (Misc queries) |