Microsoft
Software
Hardware
Network
Question : Excel VBA
Hi,
I want users to be able to enter three variables into a text box or form of some description on a spreadsheet and then press enter, after pressing enter VB runs following calculation
No of Shares 40000
Dividend Yield % 0.125
Desired Return Yield % 0.05
Calcualtion
Dividend = (No of Shares * Dividend Yield)
Sell at £ = (Dividend/Desired Yield)/ No Of Shares
So after pressing the Calculate button, the user is left with the message
Sell at £ xyz
Can anyone suggest a method and code to use to run this in Excel
Thanks and Regards,
Seamus
Answer : Excel VBA
1:
$line=~ m/^.{6}\s+PERFORM\s+(?!varying)(\S+)($|\s|\./i
Random Solutions
kaspersky admin kit is not updating
How to create a self signed certificate on windows XP
Changing src in another page
Setting up MPIO for CSV on Failover clustering
printer not listing properly in windows 2008 r2
How to cleanly kill an Excel object from memory.
Use of Excel Macro in MS Access 2000
Flex Panel with icon
Why Not able to read excel file in the Web application running on Windows7/Office2010?
Negate of existing String inside of RegEx