Analyze_This
Board Regular
- Joined
- Oct 29, 2008
- Messages
- 122
I'm trying to set up a FOR NEXT loop with the variable X. (I know that you shouldn't set x as a variable, but it referrs to so many differnt things in the code that I couldn't think of a more descriptive name)
The problem that I have is that I can't seem to set the variable in an R1C1 formula because it of all the quotation marks. Here is how the formula currently looks
ActiveCell.FormulaR1C1 = "=""Late ""&TEXT(RC[2],""[H]:MM:SS"")"
The red 2 above is what I would like to place as x, but I can't seem to figure out the proper arrangement of quotation marks to make it work. Any ideas?
The problem that I have is that I can't seem to set the variable in an R1C1 formula because it of all the quotation marks. Here is how the formula currently looks
ActiveCell.FormulaR1C1 = "=""Late ""&TEXT(RC[2],""[H]:MM:SS"")"
The red 2 above is what I would like to place as x, but I can't seem to figure out the proper arrangement of quotation marks to make it work. Any ideas?