I'm attempting to isert the following formula into a cell via VBA:
but given an error I'm guessing due to ' symbol being used in the formula. How can I avoid this?![]()
Please Login or Register to view this content.
Thank you
I'm attempting to isert the following formula into a cell via VBA:
but given an error I'm guessing due to ' symbol being used in the formula. How can I avoid this?![]()
Please Login or Register to view this content.
Thank you
Last edited by luv2glyd; 10-16-2010 at 06:12 PM.
You either quit or become really good at it. There are no other choices.
The problem is the double quotes. The workaround below uses the character code for them so that the compiler won't try to pair them up with the string delimiter quotes at the beginning and end.
![]()
Please Login or Register to view this content.
Ben Van Johnson
Cool! Thank you. Now that I realize what the issue is, I was actually able to make it work by putting """" instead of "" - quadruple quotation marks in place of double.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks