Previous in Forum: How to Convert CSV File of Konica Minolta CR System to Dicom File   Next in Forum: Punchlist
Close
Close
Close
3 comments
Rate Comments: Nested
Power-User

Join Date: Feb 2011
Location: Shimurali, Westbengal,India
Posts: 119

VBA (Excel 2007) Rotating Globe View

09/05/2013 3:35 AM

In excel 2007 I put a world map where each nations can be selected individually. When I click any perticular nation it open a separate map of that nation.

I want to make the view as a globe and the globe rotate. When I click on it, it stop rotating and in second click it again start to rotate. Also, when I click a perticular nation it open the separate sheet as previously.

Please help me how can I do it in VBA Code in excel 2007?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Power-User

Join Date: Oct 2008
Location: Troy, NY
Posts: 122
Good Answers: 4
#1

Re: VBA (Excel 2007) Rotating Globe View

09/06/2013 3:26 PM

Sounds like you need some type of timer function to make the image rotate. You can use the not() function to change the state of a boolean to track whether to rotate or not to when the click event occurs. rotate = not(rotate)

Register to Reply
Guru

Join Date: Feb 2012
Posts: 595
#2

Re: VBA (Excel 2007) Rotating Globe View

09/11/2013 3:47 AM

your intention - sounds to me as beyound the scope for excel - though not impossible
you could attempt to create programmatically (MSO VBA ! using Windows API !) ::

a insertable bitmap object that you may or may not be able to paint with ::

a snapshot of OpenGallery or Active-X "3D scene" <- you also have to create it separately using windows API-s

so i guess its possible but - due the limitations of office/excel it may be too slow/junky for an end user to use it as a real time thingy - although - it might and work

...

i gess it'd be more realistic to do your thing in JAVA or other web app - or write a separate program for such (you wont have to do the guessing job how to embbed such program in MSO environment)

__________________
ci139
Register to Reply
Guru

Join Date: Feb 2012
Posts: 595
#3
In reply to #2

Re: VBA (Excel 2007) Rotating Globe View

09/11/2013 5:11 AM

ups! it's DirectX i gues - however the - "manipulating "directx scene" object "from within" the mso excel" - didn't reveal any results in web search ???

maybe this could be some starting point

__________________
ci139
Register to Reply
Register to Reply 3 comments

Previous in Forum: How to Convert CSV File of Konica Minolta CR System to Dicom File   Next in Forum: Punchlist

Advertisement