
10-01-2010, 11:31 AM
|
 |
Bald Mountain Survivor
Super Moderator * Expert *
|
|
Join Date: Aug 2003
Location: Oregon, USA
Posts: 5,877
|
|
Kind of tough for us to guess what your sample value inside the string UserPromptTime is. (Assuming it is a string)
Is it numerical or letters?
Also you really should be using: "Optiion Explicit" at the top of your module.
...
The Cells() object has a bit more flexible input than the range object.
Examples:
sCol = "ZZ"
nRow = 3
Cells(nRow,sCol).Select
-or-
nCol = 41
nRow = 6
Cells(nRow,nCol).Select
|
__________________
Burn the land and boil the sea
You can't take the sky from me
~T
|