Do VB macros work with HTML

Hibees

New Member
Joined
Mar 21, 2002
Messages
1
I want to have a map on an excel speadsheet. Would it be possible to have hotpoints in the picture so that a floating text box pops up as the cursor passes over the hotpoint? Is this possible via VB or would I have to use Java or HTML? Are these languages compatable with VB.

Thanks in advance
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Sure you can.
There may be other ways, but try this until you find a better way.

Put a label or image box or ect on your sheet
Make it transparent or the same color as
your background if possible.

In the object's MouseMove_Event,
write your code to do whatever your
heart desires.
 
Upvote 0
Hi
Me again...
Here is another way to solve your prob

open a new workbook
draw out an imagebox on your sheet

add this code to image1 mouse_move event
Range("a1").Value = X
Range("B1").Value = Y
you can trap the mouse pointer location
by approximation

use select case for all of your popup graphics

case else would close all popups

Get it?
 
Upvote 0

Forum statistics

Threads
1,214,525
Messages
6,120,051
Members
448,940
Latest member
mdusw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top