Hello guys this is my 1st post im working on a mechanical project , I need to do some modifications to my XLS file that i aint familair with.
\1
Hello guys this is my 1st post im working on a mechanical project , I need to do some modifications to my XLS file that i aint familair with.
\1
Does anyone know how is that done or does anyone have an example file ?
Does anyone have any example on how it is done thanx ..
Threads merged. Please do not post the same question in two forums.
Hi uae,
You cannot hide/show pictures with worksheet formulas. You would need to use vba code to do so.
Something like the following sounds close to what you're after:
Please Login or Register to view this content.
Thanx buddy, here is an example of what im trying to do:
http://aycu36.webshots.com/image/348...0572870_rs.jpg
Please find the XLS file from the basket below.
Try adding this code to your Sheet1 code:
Your picture's names in Excel are 'Picture 9' and 'Picture 13' (if you click on them, you'll see their names in the Name box (above and to the left of cell A1).Please Login or Register to view this content.
Thanx a million + a million More it worked :-)
Hey buddy is there an easier way to know the exact location after moving the pictures around. I play with the values so most of the time its ( trial and error). If you have an easier way to retrieve the .top & .left value please share.
Thanx in advance.Please Login or Register to view this content.
Hi uae,
Place the following code into your workbook:
Then, to find a specific image's location:Please Login or Register to view this content.
1. Click on the image to see it's actual name (in the Name box), e.g. Picture 13
2. In cell A1, type that name as shown, including spaces
3. Press ALT+F8 and select the 'getPicLocation' macro.
A message box will pop up with the Top and Left values of that image. If you move the image and then run the macro again, it will tell you the new location. (If you don't want to use cell A1, use another cell but change the code to reflect that.)
Hope that helps.
Thanx it worked.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks