Question
***VBA must be written in excel and CANNOT contain any loops*** Write a macro that converts an azimuth in degrees to a bearing in degrees
***VBA must be written in excel and CANNOT contain any loops*** Write a macro that converts an azimuth in degrees to a bearing in degrees minutes and seconds. Use message boxes to input and output data. The input message box must state that the input data should be from 0 to 360 Degrees. Validate with a block of statements the input data to assure that the input is not less than zero or greater than 360 degrees. Output should be in the format: N 36.5E or if the azimuth is exactly 0, 90, 180, 270, or 360, the output should be Due North, Due East, Due South, Due West, or Due North, respectively. Place a "RUN" button on the spreadsheet. Dimension variables and place appropriate comments throughout your code. ***VBA must be written in excel and CANNOT contain any loops***
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started