I am writing code to interpolate data. I want to the code recoginaze which values were given by the user and write those. I have an ifstatement in VBA to determine if the associated value was given. code:
The if statement "If cell1 = cell2 Then" doesn't recognize when cell1 = cell2. i tried adding .value which didn't work. I also tried formatting to equal the same. I added an if statement in excel to check if the two were really equal and they were. The peculiar thing, is the routine works for two of the data pairs I have but not for the third. Suggestions?Please Login or Register to view this content.
Bookmarks