Sounds like you need a variable.
this is just an example. a variable is useful for storing information from either a cell or a result of another function within your code. use integer for small numbers, long for big numbers, string for text, and range for cell references. (to apply a value to those use 'set Range1 = range("a1")')
You should always declare your variables at either the top of the sub for a local variable (it only works within the sub) or at the top of your module (this will work between all subs in a module)
Bookmarks