VBA Washout (1 Viewer)

jwcclarke

Registered User.
Local time
Today, 10:08
Joined
Mar 21, 2013
Messages
11
Hey I'm not sure this is possible but maybe someone has a better idea, I've never used VBA in word (2013).

My work are wanting to have a word doc with four logos in it depending on their section. (Communication, Social, ETC)

What they would like is depending on the group the memo relates to the other Legos be Washed out (Watermarked) and only the one be bold in full colour.

Is it possible to make is so that I can program VBA to either Washout or un-washout an Image

Ideally I'll be adding the control to the ribbon with a "on/off" button for each icon

Thanks
Jay
 

Ranman256

Well-known member
Local time
Today, 06:08
Joined
Apr 9, 2015
Messages
4,337
you will need 8 logos, all invisible.
then you can make 1 bold color visible, and the other 'washed' show.

Code:
select case vLogo
   case "Comm"
       picCommBold.visible =true
       picSocialWash.visible =true
       picABCWash.visible =true

   case "Social"
       picSocialBold.visible =true
       picCommWash.visible =true
       picABCWash.visible =true

   case "ABC"
end select
 

jwcclarke

Registered User.
Local time
Today, 10:08
Joined
Mar 21, 2013
Messages
11
Thanks for getting back to me Ranman256,

I'm sorry if I'm being dumb I'm not very good with VB but am I missing something at the start of this coding, when I manually run though it its jump straight from [Case "Comm"] to [Case "Social"] without activating any of the Visible functions

is there a function that should be at the start of this piece of code?

J
 

Users who are viewing this thread

Top Bottom