VBA: Cell Range
Closed
shellboy
Posts
2
Registration date
Monday 14 August 2017
Status
Member
Last seen
15 August 2017
-
14 Aug 2017 à 04:16
Blocked Profile - 16 Aug 2017 à 16:18
Blocked Profile - 16 Aug 2017 à 16:18
Related:
- Rcell vba
- Vba find - Guide
- Vba case like - Guide
- Vba timer - Guide
- Create new sheet vba - Guide
- Vba userform - Guide
15 Aug 2017 à 08:26
16 Aug 2017 à 16:18
Write now, you are trying to compare a string(RFactor as String) to an integer (.05)!
Do not declare the RFactor as anything.
Try this, in a cell place the value:
=Royalty(.06)
And see what the cell turns into.
Also, you must place this Royalty subroutine, into a module, not a worksheet.