VBA: Cell Range
Closed
shellboy
Posts
2
Registration date
Monday August 14, 2017
Status
Member
Last seen
August 15, 2017
-
Aug 14, 2017 at 04:16 AM
Blocked Profile - Aug 16, 2017 at 04:18 PM
Blocked Profile - Aug 16, 2017 at 04:18 PM
Related:
- VBA: Cell Range
- Vba case like - Guide
- Number to words in excel formula without vba - Guide
- Vba check if value is in array - Guide
- Vba color index - Guide
- How to open vba in excel - Guide
Aug 15, 2017 at 08:26 AM
Aug 16, 2017 at 04:18 PM
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.