JOSTERBAUER
Board Regular
- Joined
- Jan 17, 2005
- Messages
- 101
I am a newbie at this, how can I enter a qty into say cell b1, and have it add or subtract that qty to a1, and clear the contents of b1? Thanks in advance
I think you should always declare your variables. Instead of removing the Dim statement you could have declared the variables as 'Single' (or 'Double') instead of 'Long'.Removing the dim as long enabled a fractional number.
Depending on whether you have a fixed range in column B to check or the whole column, choose the appropriate line near the start of this code. The code would allow multiple cell changes at once (eg Copy a range of cells and paste them into the target range, or select several cells in the column B range and enter a number and confirm with Ctrl+Enter, not just Enter.)That code works. How can you modify the code to do that on a multiple cell level? Or do you have to copy, past and change values in that code? Ex - have that code work for a1 to b1, a2 to b2, ect.