Thread
:
assigning value in macro
View Single Post
#
3
Posted to microsoft.public.excel.programming
Vijay Chary
external usenet poster
Posts: 50
assigning value in macro
Hi Tina !! :)
Try this. It should work.
range("a1") = chr(34) & "=countif(" & chr(34) &"b:b" & chr(34)& ",b1)"&
chr(34)
Could you let me know if it solves your problem ?
My e-mail ID is
"tina" wrote:
Hi
When I want a value for of a formula for my macro I write the formula to go
in a blank cell eg range("a1") ="= countif("b:b",b1)" then use myvalue =
range("a1") how do I assign countif to myvalue without doing this?
Thanks
Tina
Reply With Quote
Vijay Chary
View Public Profile
Find all posts by Vijay Chary