![]()
Please Login or Register to view this content.
i want to put the counters in the [] brackets but i get a compile error expected end of stantement
![]()
Please Login or Register to view this content.
i want to put the counters in the [] brackets but i get a compile error expected end of stantement
Last edited by RoOmIE; 10-08-2013 at 11:20 AM.
you need to add & signs when switching from strings to variables in your formula definition:
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[" & count1 & "],Sheet1!C[" & count1 & "]:C[" & count2 & "],5,FALSE)"
thanks yudlugar ... now if i want to change sheets at every count .. how would i do this ..
this is sort of what i want to do ..![]()
Please Login or Register to view this content.
?![]()
Please Login or Register to view this content.
Thanks.. i am somewhat not used to the language of vba .. but am learning .. thanks a lot!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks