I'm new to VBA and am trying to write a macro that tells me insurance premiums for a given accident based on the the accident date and state.
Ex.
1/1/2009 to 12/31/2009 for AK = $1000, CA = $4000, and all other states = $600
1/1/2010 to 12/31/2010 for MN = $500, all other states = $300
1/1/2011 to 12/31/2010 for AZ = $5300, all other states = $5000
I want to be able to push a button and have this information pull into a certain column.
Can someone give me pointers on my code snippet?
________________
_____________
If nested case statements isn't the best way to go, please point me in the right direction.
Thanks!
Bookmarks