cmdButton_click()
dim aCellvalue as string
acellvalue = sheetname.range("A1").value
select case acellvalue
case "JOB 1" : sheets("JOB 1").activate
case "JOB 2" : sheets("JOB 2").acitvate
case else : 'something else
end select
End Sub
I don't know if this is what you need, but I used this cool user defined function to spellnumber.
Paste into your code.
in the cell you want the number spelled out, make the formula '=spellnumber(cell)'
cell, of course is your source number.
'****************' Main Function...
you must first 'unshare' the workbook.
Application.DisplayAlerts = False ' get rid of sharing prompt
If ActiveWorkbook.MultiUserEditing Then 'if shared then
ActiveWorkbook.ExclusiveAccess 'don't share
End If
'reshare when you save
ActiveWorkbook.SaveAs FileName, , , , , , xlShared...