M
mazuzu
Hi All,
I wrote a macro that makes a cell equal to a vlookup formula. So m
code looks something like this:
Range("A2") = "=vlookup(A1,A3:B50,3,False)"
Then I want the custom format of 000000.00 applied to cell A2.
So I coded:
Range("A2")..NumberFormat = "000000.00"
This does not work however, the format does not change.
I noticed the only way to solve this problem is to manually select th
cell then click on the contents of the cell and hit ENTER.
Have any of you encountered this problem? Any ideas on how to fix it?
Any help would be greatly appreciated!
Thank you
I wrote a macro that makes a cell equal to a vlookup formula. So m
code looks something like this:
Range("A2") = "=vlookup(A1,A3:B50,3,False)"
Then I want the custom format of 000000.00 applied to cell A2.
So I coded:
Range("A2")..NumberFormat = "000000.00"
This does not work however, the format does not change.
I noticed the only way to solve this problem is to manually select th
cell then click on the contents of the cell and hit ENTER.
Have any of you encountered this problem? Any ideas on how to fix it?
Any help would be greatly appreciated!
Thank you