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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!