Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It may help to put this under the Workbook_NewSheet Event. Thought it may
help. Private Sub Workbook_NewSheet(ByVal Sh As Object) Sh.Range("B20").Formula = "=IF('Sign 2'!P650,'Sign 2'!E10,"""")" End Sub Ryan "Aviashn" wrote: Try doubling your double quotes within the string. VBA does not like double quotes inside a string and the workaround is to use two double quotes wherever there was one. Range("B20").formula = "=IF('Sign 2'!P650,'Sign 2'!E10,"""")" Post back if you still get an error. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ... | Excel Programming |