943,568 Members | Top Members by Rank

Ad:
Nov 20th, 2005
0

degrees minutes and seconds

Expand Post »
Is it possible to format a cell so that an angle in degrees can be shown as an angle in degrees minutes and seconds? Any help would be much appreciated...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
grandfilth is offline Offline
16 posts
since Sep 2005
Nov 21st, 2005
0

Re: degrees minutes and seconds

Hi grandfilth,

I tried to format a control for degrees minutes and seconds and, just like you, could not do it. So I made these two little routines that will do the job for you, one converting from decmal degrees to degrees, minutes and seconds and the other converting back to decimal degrees.

Remember that this is a 20 min job so everything might not be perfect.

Hope this helps

Yomet
Attached Files
File Type: zip DegMinSec.zip (1.6 KB, 63 views)
Reputation Points: 16
Solved Threads: 10
Junior Poster
Yomet is offline Offline
134 posts
since Nov 2005
Nov 21st, 2005
0

Re: degrees minutes and seconds

just found this, its quite neat...
http://www.cpearson.com/excel/latlong.htm
Reputation Points: 10
Solved Threads: 0
Newbie Poster
grandfilth is offline Offline
16 posts
since Sep 2005
Nov 21st, 2005
0

Re: degrees minutes and seconds

Cool page, thanks for the link.

Yomet
Reputation Points: 16
Solved Threads: 10
Junior Poster
Yomet is offline Offline
134 posts
since Nov 2005
Jul 8th, 2007
0

Re: degrees minutes and seconds

Can i use this in excel 2003 and if so how?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Andrew** is offline Offline
1 posts
since Jul 2007
Jul 11th, 2007
0

Re: degrees minutes and seconds

Andrew,

I don't see why you could not use it in XL 2003. Just copy-paste the two conversion functions into a module and then call them from the spreadsheet.

I tested it in the attached spreadsheet (XL 2000), remember to check your macro security settings.


Yomet
Attached Files
File Type: zip Book2.zip (7.5 KB, 33 views)
Reputation Points: 16
Solved Threads: 10
Junior Poster
Yomet is offline Offline
134 posts
since Nov 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Printing in a usb port
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Codes for excel





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC