Is there a way to convert a code that you put in a cell like this oneinto code in vba?HTML Code:
P17 is the cell that I have this coding in - it will determine if there is text in C17 and if there is it will pull up the pricing and markup associated with it and put the resale price in p17.
C17 is text. On another sheet of the workbook there is text that associates with numbers (pricing and markups).
N17 is the price (that is associated with C17)
O17 is the markup (associated with C17)
This goes through a range of P17 to p63 so there would need to be a loop. I was thinking along these lines but....
Anyone have a completely different idea of how to do it or continuing my idea? (the reason I'm wanting it in vba rather than each individual cell is I want to tweak that code to allow the user to enter their own price and markup if they want rather than the one pulled up, but if the code is in the cell then once they type in their numbers the code will be gone (since the cell can't be protected to allow for their input. So the vba code will need to allow for user input, but if there is no user input into cells N(i) and O(i) then it will use the associated numbers.)HTML Code:
Thanks for all help.
Bookmarks