Re: $$Excel-Macros$$ Hi, need your help - urgent

2010-07-06 Thread SAJID MANSOOR
Good!
But instead of copy paste we can use bring to front by keeping all images on
same position.

On Thu, Jul 1, 2010 at 7:38 PM, ashish koul koul.ash...@gmail.com wrote:

 hi


 Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
 Boolean)


 If ActiveCell.Row = 2 And ActiveCell.Column = 1 Then

 Call deletshape



  Sheets(Sheet1).Select
 Range(E9).Select
 Selection.Delete

  Sheets(2).Shapes(1).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 3 And ActiveCell.Column = 1 Then
 Call deletshape
  Sheets(2).Shapes(2).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 4 And ActiveCell.Column = 1 Then
 Call deletshape

  Sheets(2).Shapes(3).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 5 And ActiveCell.Column = 1 Then
 Call deletshape

  Sheets(2).Shapes(4).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste

 End If

 End Sub

 Sub deletshape()
 Dim sh As Shape


For Each sh In Sheets(1).Shapes

  If sh.Type = msoPicture Then
   sh.Delete
End If
 Next sh

 End Sub


 ashish koul

 akoul.blogspot.com



 On Thu, Jul 1, 2010 at 5:44 PM, Rajender Soni soni.rajen...@gmail.comwrote:

 Hi

 Pls find attached the excel file, I just want that when I move my mouse
 cursor over a cell, the image having the name equal to cell's value will get
 displayed, pls open the attached excel file for more clarification.

 Regards
 Rajender Soni

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 To post to this group, send email to excel-macros@googlegroups.com

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


  --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 To post to this group, send email to excel-macros@googlegroups.com

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


-- 
--
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ Hi, need your help - urgent

2010-07-01 Thread Aindril De
Hi Rajender,

I am not quite sure how would you want to do it. However there is a very
simple solution mentioned in the link below, which almost does what you are
trying to achieve.
http://www.excelforum.com/excel-general/713781-display-an-image-based-on-a-cells-value.html

http://www.excelforum.com/excel-general/713781-display-an-image-based-on-a-cells-value.html
Regards,
Andy

On Thu, Jul 1, 2010 at 5:44 PM, Rajender Soni soni.rajen...@gmail.comwrote:

 Hi

 Pls find attached the excel file, I just want that when I move my mouse
 cursor over a cell, the image having the name equal to cell's value will get
 displayed, pls open the attached excel file for more clarification.

 Regards
 Rajender Soni

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 To post to this group, send email to excel-macros@googlegroups.com

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


-- 
--
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe


Re: $$Excel-Macros$$ Hi, need your help - urgent

2010-07-01 Thread nifaz islam
hi
i need help how i can secure a hidden sheet no any one can unhide and modify
it.




Regards
Ni



On Thu, Jul 1, 2010 at 7:38 AM, ashish koul koul.ash...@gmail.com wrote:

 hi


 Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
 Boolean)


 If ActiveCell.Row = 2 And ActiveCell.Column = 1 Then

 Call deletshape



  Sheets(Sheet1).Select
 Range(E9).Select
 Selection.Delete

  Sheets(2).Shapes(1).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 3 And ActiveCell.Column = 1 Then
 Call deletshape
  Sheets(2).Shapes(2).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 4 And ActiveCell.Column = 1 Then
 Call deletshape

  Sheets(2).Shapes(3).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste


 ElseIf ActiveCell.Row = 5 And ActiveCell.Column = 1 Then
 Call deletshape

  Sheets(2).Shapes(4).Copy
 Sheets(Sheet1).Select
 Range(E9).Select
 ActiveSheet.Paste

 End If

 End Sub

 Sub deletshape()
 Dim sh As Shape


For Each sh In Sheets(1).Shapes

  If sh.Type = msoPicture Then
   sh.Delete
End If
 Next sh

 End Sub


 ashish koul

 akoul.blogspot.com



 On Thu, Jul 1, 2010 at 5:44 PM, Rajender Soni soni.rajen...@gmail.comwrote:

 Hi

 Pls find attached the excel file, I just want that when I move my mouse
 cursor over a cell, the image having the name equal to cell's value will get
 displayed, pls open the attached excel file for more clarification.

 Regards
 Rajender Soni

 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 To post to this group, send email to excel-macros@googlegroups.com

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe


 --

 --
 Some important links for excel users:
 1. Follow us on TWITTER for tips tricks and links :
 http://twitter.com/exceldailytip
 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
 3. Excel tutorials at http://www.excel-macros.blogspot.com
 4. Learn VBA Macros at http://www.quickvba.blogspot.com
 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 To post to this group, send email to excel-macros@googlegroups.com

 
 HELP US GROW !!

 We reach over 7000 subscribers worldwide and receive many nice notes about
 the learning and support from the group.Let friends and co-workers know they
 can subscribe to group at
 http://groups.google.com/group/excel-macros/subscribe




-- 
Kindly Regards
Nifaz Islam

-- 
--
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com


HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe