Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Your DIM statement says that thingy is an integer variable. Then you try to
assign a string (text) to it. That won't work. Try Dim thingy As String On Mon, 30 Aug 2004 15:12:43 -0500, mpjohnston wrote: Dim thingy As Integer thingy = "=MATCH(""DiceC"",qperiodagentperformance!A:A, 0)" ActiveCell.Formula = _ "=INDEX(qperiodagentperformance!D" & thingy & ":D13000,MATCH(""Agent Summary"",qperiodagentperformance!A" & thingy & ":A13000,0))" Range("D26").Select my thingy doesnt seem to work..... no comment Mike --- Message posted from http://www.ExcelForum.com/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Visual Basic Error Run Time Error, Type Mismatch | Excel Discussion (Misc queries) | |||
Befuddled with For Next Loop ------ Run - Time Error '13' Type Mismatch Error | Excel Programming | |||
Type Mismatch error | Excel Programming | |||
help with type mismatch error | Excel Programming | |||
Type mismatch error | Excel Programming |