I want to create a macro that uses the values from cell A1 and A2 to write a formula in cell A3. It is important that the formula in A3 contains the actual numbers from A1 and A2. I don't want the forumula to just be "=A1+A2", but rather "=2.50+3.75" (if those are the values of A1 and A2 at the time of running the macro).
This macro works, but does not give me the decimals from A1 and A2 in the formula of A3. Tried to dim as single or double instead, but that only returns run time error 1004 Method 'Formula' of object 'Range' failed. Why?
Please Login or Register to view this content.
Bookmarks