J
john.9.williams
I have a program that i am developing. What happens is when i click on
an inserted image i want a certain text to be input into a cell.
No problem here, but i have around 40 images that when click the macro
puts different text into a cell. I do not want to write 40 different
macros so was thinking that if i assign the image with the text in
its alt.text property when i run the macro the alt text becomes the
variable
i.e
Sub test ()
DIM text
text = image alt text (code to go here)
range("a1") = text
not sure if this is possible or is there another way i am missing
many thanks
an inserted image i want a certain text to be input into a cell.
No problem here, but i have around 40 images that when click the macro
puts different text into a cell. I do not want to write 40 different
macros so was thinking that if i assign the image with the text in
its alt.text property when i run the macro the alt text becomes the
variable
i.e
Sub test ()
DIM text
text = image alt text (code to go here)
range("a1") = text
not sure if this is possible or is there another way i am missing
many thanks