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
Deploy Printer Drivers to WinXP Computers
Capturing handwriting
Saving Favorites in Windows 7, IE 8
Need a 40" or larger touchscreen computer
Pervasive SQL 9.5 - odbc SELECT Query - DATE = '0000-00-00'
.NET framework error on install
How to remove automatic login from Outlook 2010
Problems with user management
Sync iPhone w/Outlook without iTunes or Exchange
Move DC role from Exchange Server