Hi!
I manage to do what my title says with a VLOOKUP and VBA code for pictures. But this code only leets me view one picture at time. Therefore i´m looking for the same kind of solution for this shape. Any of you guys have any idea?
Thanks!! Guple
Hi!
I manage to do what my title says with a VLOOKUP and VBA code for pictures. But this code only leets me view one picture at time. Therefore i´m looking for the same kind of solution for this shape. Any of you guys have any idea?
Thanks!! Guple
can you attach a sample file with notes ?
If solved remember to mark Thread as solved
Below is CODE 1 which lets me choose which picture i want to show on sheet2 FROM SHEET1 (with VLOOKUP). This works great. But cannot be used with this specific action as it only lets ONE picture to be shown at a time. Therefore i´m looking for another macro to let me show/hide this specific shape "rectangle 1" on sheet2 from entering a specific value on SHEET1.
CODE 2 works like a charm with SHEET2 activated. But when SHEET1 is active and i enter the specific value in a cell (which is linked to D1 in SHEET2 (See code2)) the macro wont automatically update until i select sheet2 and run the macro in the VBA window.
Sorry for bad explanation, please ask if something is unclear!!
Thanks for your reply.
// Guple
![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Last edited by arlu1201; 10-22-2013 at 09:31 AM.
Anyone Please?
I asked for file, not only code
I removed the file!
Last edited by Guple; 11-14-2013 at 01:33 PM.
I'm sorry but I did not understand anything about your workbook, your code and your goal
Hi, Guple,
there is a formula in A5!H1. The event you have chosen to work will only get triggered once an entry is made into the cell it is monitoring but not if the value changes due to a formula.
I would suggest to work with Data/Validation for the input in start Range C3 in order to avoid typos.
Code could be reduced to
behind the sheet A5.![]()
Please Login or Register to view this content.
@patel45:
Sounds quite harsh to me - especially since you weren´t able to provide any hint/help.I asked for file, not only code
Ciao,
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
Thanks for your help!!
I´ve added the data validation to start sheet c3 for a drop down list. This works great. THANKS!!
The code below also works great, but it does not make the shape hide/show until i manually go in to vba and manually run the code. Can i make excel to do this for me?
![]()
Please Login or Register to view this content.
I was just kidding!!! Everything works great!! Thanks for your help!! AWESOME
I´m very thankful to all your help!! But i wonder if there is any way that i could use a drop down list instead of buttons?
My macro looks like this below, and can hide/show two different shapes linked to Cell "D17" and "D18". When Cell "D18" is true then shape99 appears, and when Cell "D17" is TRUE then shape100 appears. But as i want to add more shapes, and NOT more Buttoms, i´m interesting in a solution were i can use a drop down list. So for example when Cell "C20" have Value "shape1" then shape 1 appears, and when "C20" has value shape99 then shape100 appears.
Any ideas? I´m very thankful for your help!!!
![]()
Please Login or Register to view this content.
Root: https://www.dropbox.com/s/8cwxgh6c8284e0l/program.xlsm
Last edited by Guple; 12-05-2013 at 11:17 AM.
Hi, Guple,
did you mean Buttons or Checkboxes?
Maybe like this:
Ciao,![]()
Please Login or Register to view this content.
Holger
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks