Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
syntax question
Hi XLers
This code fragment works well, resulting in a cell value of, for example, Teacher Worksheets("PrintRpt").Range("C1").Formula = "=INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0)) " But, I want the cell value to be Job Title: Teacher I know this should be simple, but I can't get the syntax to work? TQ for any help Giselle |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
syntax question
Like:
Worksheets("PrintRpt").Range("C1").Formula _ = "=""Job title: "" & INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0))" You have to double up the quotes within the strings. Giselle wrote: Hi XLers This code fragment works well, resulting in a cell value of, for example, Teacher Worksheets("PrintRpt").Range("C1").Formula = "=INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0)) " But, I want the cell value to be Job Title: Teacher I know this should be simple, but I can't get the syntax to work? TQ for any help Giselle -- Dave Peterson |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
syntax question
=" =""Why couldn't "" & ""I"" & ""think of that!"" "
Giselle "Dave Peterson" wrote in message ... Like: Worksheets("PrintRpt").Range("C1").Formula _ = "=""Job title: "" & INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0))" You have to double up the quotes within the strings. Giselle wrote: Hi XLers This code fragment works well, resulting in a cell value of, for example, Teacher Worksheets("PrintRpt").Range("C1").Formula = "=INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0)) " But, I want the cell value to be Job Title: Teacher I know this should be simple, but I can't get the syntax to work? TQ for any help Giselle -- Dave Peterson |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
syntax question
because ="=""Giselle "" &"" excel knowledge < Daves excel knowledge "" "
-- paul remove nospam for email addy! "Giselle" wrote: =" =""Why couldn't "" & ""I"" & ""think of that!"" " Giselle "Dave Peterson" wrote in message ... Like: Worksheets("PrintRpt").Range("C1").Formula _ = "=""Job title: "" & INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0))" You have to double up the quotes within the strings. Giselle wrote: Hi XLers This code fragment works well, resulting in a cell value of, for example, Teacher Worksheets("PrintRpt").Range("C1").Formula = "=INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0)) " But, I want the cell value to be Job Title: Teacher I know this should be simple, but I can't get the syntax to work? TQ for any help Giselle -- Dave Peterson |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
syntax question
Gawd, those double quotes are confusing!
I sometimes type the formula in a cell, then copy and paste into the code--and remember to double them up after I paste. paul wrote: because ="=""Giselle "" &"" excel knowledge < Daves excel knowledge "" " -- paul remove nospam for email addy! "Giselle" wrote: =" =""Why couldn't "" & ""I"" & ""think of that!"" " Giselle "Dave Peterson" wrote in message ... Like: Worksheets("PrintRpt").Range("C1").Formula _ = "=""Job title: "" & INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0))" You have to double up the quotes within the strings. Giselle wrote: Hi XLers This code fragment works well, resulting in a cell value of, for example, Teacher Worksheets("PrintRpt").Range("C1").Formula = "=INDEX(Job_List!J:J,MATCH(A4,Job_List!A:A,0)) " But, I want the cell value to be Job Title: Teacher I know this should be simple, but I can't get the syntax to work? TQ for any help Giselle -- Dave Peterson -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot table question | Excel Discussion (Misc queries) | |||
disregard 12/19/05 ".XValues syntax problem" question. Answer fou | Charts and Charting in Excel | |||
BringToFront syntax question | Charts and Charting in Excel | |||
Data Validation Syntax Question | Excel Discussion (Misc queries) | |||
syntax question - cell references in VB code | New Users to Excel |