Excel VBA to Insert Picture into Cell and Resize Picture to fit into Cell

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ต.ค. 2024

ความคิดเห็น • 99

  • @RaviKumar-pr2by
    @RaviKumar-pr2by ปีที่แล้ว

    Thank u so much for Sir i was searching past one month now the problem is resloved...Thank u for this amazing service , God Bless u Sir..Thank u so much again..

  • @danmickle2604
    @danmickle2604 4 ปีที่แล้ว +7

    Hey, I just wanted to say this video helped me out quite a bit and I really appreciate the time you took on it.

  • @shubhamplastics906
    @shubhamplastics906 2 ปีที่แล้ว

    This Video has helped me a lot to make my life simple. Thank a Lot

  • @datascientist6233
    @datascientist6233 ปีที่แล้ว +1

    Excellent Sir.,.

  • @irshadsagvekar
    @irshadsagvekar 3 ปีที่แล้ว +2

    Thank you Sir B is in column number from row number 5 to 1,2,3, in the same order there is photo folder in path P also photos are also in number 1,2,3 they want to take in column 35

  • @vikku9999
    @vikku9999 3 ปีที่แล้ว +2

    Hi Sir, can i get some help. I am not sure if all the images are in the folder, so if any images are not there i would like to have a msg as "Not found" and also an additional command button to clear all the images. Can i get that VBA codes as well which will make my life more easier

  • @ocamposfaria5106
    @ocamposfaria5106 3 ปีที่แล้ว +1

    Excellent video! Thank you.

  • @colinlim7211
    @colinlim7211 3 ปีที่แล้ว +1

    Hello Sir, may get some help? I need to insert hundred of pictures into my product list with respective codes. I have save the pictures with the code in a folder which match with my product list code. However, the pictures are still unable to appear on my product list even I click on > developer > macros > run > import images > select import pictures location from the folder. May I get your help? I can share the product list and pictures files to you. Appreciate for your advice this

  • @ΓΕΩΡΓΙΟΣΜΑΚΑΡΑΤΖΗΣΣΕΕ
    @ΓΕΩΡΓΙΟΣΜΑΚΑΡΑΤΖΗΣΣΕΕ 3 ปีที่แล้ว +1

    Hi! This is a great tutorial. But, in my case it did not work! I followed the instructions but when i click the button, a message box was appeared "Object does not support this property method or method". I show the code. The problem is on the line "Set animal_pic = ActiveSheet.Pictures.lnsert(pic_location)". What's ii wrong? What can i do to solve the problem?

  • @hoangtung8080
    @hoangtung8080 3 ปีที่แล้ว +1

    Great !, thanks

  • @issamelbouche19
    @issamelbouche19 2 ปีที่แล้ว +1

    Merci beaucoup

  • @ssinghvds
    @ssinghvds ปีที่แล้ว +1

    Thanks sir

  • @nakorns320
    @nakorns320 3 ปีที่แล้ว +1

    This video can be help me. Thank you.

  • @Romariowll
    @Romariowll หลายเดือนก่อน

    What to do on error? When i don't have the picture my excel close.

  • @vinothkumarmanoharan2317
    @vinothkumarmanoharan2317 3 ปีที่แล้ว +1

    Awesome 👍👍

  • @AgathinhaFB
    @AgathinhaFB 3 ปีที่แล้ว

    Thank u ver much for the video
    I need some help though, when i send the file the images dont open, because of the path
    Is there any way to fix it? Pleeeease

  • @abhishakya5263
    @abhishakya5263 2 ปีที่แล้ว +2

    Thanks

    • @ExcelDestination
      @ExcelDestination  2 ปีที่แล้ว +1

      Welcome

    • @abhishakya5263
      @abhishakya5263 2 ปีที่แล้ว

      @@ExcelDestination yeh practice file Kahan se download kar sakta hun sir ?

  • @MohAboAbdo
    @MohAboAbdo 4 ปีที่แล้ว +1

    Thank you very much, sir, for this great video. If possible I have a question: How can pictures be renamed as rows?for example copy2, copy3, copy4 etc.... With VBA.

  • @AkhileshKumar-pu7xj
    @AkhileshKumar-pu7xj 3 ปีที่แล้ว

    i Have a macro, in Office 2007 working, but in not working in Office 2010,2013,2016 can u help me

  • @pulkitgodha1770
    @pulkitgodha1770 2 ปีที่แล้ว

    Can u help in providing the module for the picture in the user form to be directly transfer in the Excel form also

  • @Seth6000
    @Seth6000 4 ปีที่แล้ว +1

    Can I take a picture I put in the excel and use them in vba forms without loading from somewhere else?
    I putted a picture in one of the sheets and I want to use that picture in a form is it possible?

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      yes

    • @Seth6000
      @Seth6000 4 ปีที่แล้ว

      @@ExcelDestination I'm having difficulties, can you tell the code you are using to do this? If it's in the video tell me exactly where, I kinda got lost

  • @AjaySingh-ll5qw
    @AjaySingh-ll5qw 4 ปีที่แล้ว +1

    Really nice. ..

  • @durgadevim2107
    @durgadevim2107 3 ปีที่แล้ว +1

    Sir super video , but can't run the program , some error , application & object error sir pls clarify

  • @badjohnnybgood9686
    @badjohnnybgood9686 4 ปีที่แล้ว +1

    Thanks for your great tutorial. I have a request. If I use this with a data validation list and press the command button the refresh the images the previous image are still there underneath the new ones. Is the a command I could use to delete the previous image before placing the new one? Thanks again!

  • @allandizon2574
    @allandizon2574 10 หลายเดือนก่อน

    what if i want to make the cell ready for any object or image

  • @nileshmedhekar6772
    @nileshmedhekar6772 3 ปีที่แล้ว +1

    Sir, Could This code work to find picture Folder and into the Sub Folder also

    • @ExcelDestination
      @ExcelDestination  3 ปีที่แล้ว

      yes, but you need to modify\add some code.

  • @shahzadisrani2616
    @shahzadisrani2616 3 ปีที่แล้ว

    when I click on Insert Picture, It is not taking any action but when I check vba code then it shows error on line no. 6 & showing range error.
    I am calling cheques as I have needed from folder but 1 thing more if my pictures are in jpeg, jpg, png or other format so how can I call
    Kindly suggest me on both my queries.
    Thanks

  • @jaishaw131
    @jaishaw131 4 ปีที่แล้ว +1

    this is really good thing to save time. But when I tried it I got a dialogue box of RUN TIME ERROR " Unable to get the insert property of the picture class" but when I changed my pictures name from IMG_20200815_085825 to any word name it will work. Can you help me to work this without changing my pictures name??

  • @syahmiltalib1305
    @syahmiltalib1305 3 ปีที่แล้ว +1

    thank you sir, how about deleting the picture?

  • @azhagananthanpattabiramane1341
    @azhagananthanpattabiramane1341 4 ปีที่แล้ว +1

    Hi, Can you help me to unlink the image path of the inserted image by VBA code in excel and save image in the same cell by VBA please. so that I can send the file to others.

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      I hope, when you send the file to anyone, it does not give link or path.

  • @trincoboys5860
    @trincoboys5860 2 ปีที่แล้ว

    Sir I have morethan 50 photos so how can change all the name at same time instead of individually one by one please guide me sir

  • @neutonmunshi2779
    @neutonmunshi2779 4 ปีที่แล้ว +1

    VBA the "i" is showing as red(wrong)= i am using B3 as name and picture location as B135. Can you advice

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      I have replied to your email, hoping that would be helpful for you.

  • @kaanapadhiyar1143
    @kaanapadhiyar1143 3 ปีที่แล้ว +1

    Hi how can do
    Sir plz guide me
    Where i make change in code

  • @shubhamplastics906
    @shubhamplastics906 2 ปีที่แล้ว

    I have a request to send with following scenario.
    If the Name of Animal is a merged cell then how we can insert the picture with the help of VBA.

  • @librarymgc9293
    @librarymgc9293 2 ปีที่แล้ว

    how to fix the run time error 1004. unable to get the insert property of the picture class.

  • @sivaprakasam6550
    @sivaprakasam6550 2 ปีที่แล้ว

    Hi i am get error the "Set animal_pic = ActiveSheet.Pictures.insert(pic_location)" Run-time error "1004": Unable to get the Insert property of the Picture class

    • @JuanLopez-uj4ui
      @JuanLopez-uj4ui 2 ปีที่แล้ว

      Were you able to fix it? i have the same error

  • @pakistanpilgrims4688
    @pakistanpilgrims4688 2 ปีที่แล้ว +1

    its not working i m getting this error RUN TIME ERROR " Unable to get the insert property of the picture class"

  • @ProUnboxingTips
    @ProUnboxingTips 4 ปีที่แล้ว +2

    Bro I am pulling data from nse website option chain I want first highest second highest oi data paste into another sheet how to do that and sheet is refreshing automatically 5 minutes and ever time data come in new row

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      I can automate your data analysis for NSE data. Send me email at Exceldestination@gmail.com.

    • @Surya-aaa
      @Surya-aaa 4 ปีที่แล้ว

      Bhi ye quiery bahut demand m h

    • @Surya-aaa
      @Surya-aaa 4 ปีที่แล้ว

      Sir mene sheet bana le h Pr ose automate karna h matlab vo sheet har 8 min p auto refresh ho ke save ho Jai

  • @farishassn9160
    @farishassn9160 4 ปีที่แล้ว +1

    For a code that works correctly if the direction of the paper is from the left. And it's wrong if the direction of the paper is from the right... How to make the image appear in its correct place if the direction of the paper is from the right

  • @gunjanvyas1606
    @gunjanvyas1606 4 ปีที่แล้ว +2

    Thanks sir... but i m getting debug here
    Set stpic = ActiveSheet.Pictures.Insert(piclocation).. i m gett

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว +1

      send me your file at exceldestination@gmail.com let me check

    • @gunjanvyas1606
      @gunjanvyas1606 4 ปีที่แล้ว

      Mail sent and Thank you sir for quick response..

    • @gunjanvyas1606
      @gunjanvyas1606 4 ปีที่แล้ว

      Awaiting reply sir

  • @kaanapadhiyar1143
    @kaanapadhiyar1143 3 ปีที่แล้ว +1

    Hi sir
    If i want to assign pic location address into worksheet cell

    • @ExcelDestination
      @ExcelDestination  3 ปีที่แล้ว

      yes, that can be done easily

    • @kaanapadhiyar1143
      @kaanapadhiyar1143 2 ปีที่แล้ว

      @@ExcelDestination
      This one want to do plz share code

  • @rajeshtm508
    @rajeshtm508 3 ปีที่แล้ว

    Sir when I clicking insert am getting error message 1004 unable to insert picture class. Pls help how to solve this.

    • @ExcelDestination
      @ExcelDestination  3 ปีที่แล้ว

      without looking code, not sure.

    • @rajeshtm508
      @rajeshtm508 3 ปีที่แล้ว

      @@ExcelDestination mail id pls

    • @rajeshtm508
      @rajeshtm508 3 ปีที่แล้ว

      Sir . Also error of unable to get insert property in picture class comes when we select one item. Ie, picture against one item. Pls help to solve this also. If all 5 items we select them no error

    • @rajeshtm508
      @rajeshtm508 3 ปีที่แล้ว

      Sir,hope you receive my mail

  • @sachinshinde5997
    @sachinshinde5997 4 ปีที่แล้ว +1

    Very helpful...
    I like your videos....
    I have one query that I m working in HR department...I need to send 30 to 40 mails daily using Gmail account ...will you make video for sending emails using Excel VBA via Gmail instead of outlook...
    Please help me..it will save my time...

  • @gurujionlinephulera2596
    @gurujionlinephulera2596 4 ปีที่แล้ว +1

    Unable to get the insert property of the picture class

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      not sure. It is standard property in excel.

  • @molaybiswas5669
    @molaybiswas5669 2 ปีที่แล้ว

    I need same VBA code in note ,

  • @bijayarai1725
    @bijayarai1725 3 ปีที่แล้ว

    insert of picture can we get pdf file

  • @farishassn9160
    @farishassn9160 4 ปีที่แล้ว

    الكود يعمل بشكل صحيح اذا كان اتجاه الورقة من اليسار ..ويخطا اذا كان اتجاة الورقة من اليمين...كيف يمكن جعل الصورة تظهر في مكانها الصحيح اذا كان اتجاه الورقة من اليمين

  • @Mohosin009
    @Mohosin009 3 ปีที่แล้ว

    could you please send the code

  • @evladi16
    @evladi16 ปีที่แล้ว

    This code only adds a single image

  • @tachillchill
    @tachillchill 3 ปีที่แล้ว

    why not copy code and pin below video ?

  • @WilliamOliveiraExcel
    @WilliamOliveiraExcel 4 ปีที่แล้ว

    mine presents this error here:
    it is not possible to obtain the insert property of the pictures class

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      without looking at your code, not sure what is the error. you can send me your file, I can check and let you know. If you need my file, send me email at exceldestination@gmail.com I will provide you the original file, which is working perfectly. Hope this helps!!!

    • @WilliamOliveiraExcel
      @WilliamOliveiraExcel 4 ปีที่แล้ว +1

      ​@@ExcelDestination Mail sent and Thank

    • @WilliamOliveiraExcel
      @WilliamOliveiraExcel 4 ปีที่แล้ว

      I sent you a file, because mine gave error in the Pictures Class. Make your file available for us to download and actually see what's going on

  • @Surya-aaa
    @Surya-aaa 4 ปีที่แล้ว

    Bhi live chat kaha p hoge plz reply

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      Live Chat is available on demand basis :)

  • @AkhileshKumar-pu7xj
    @AkhileshKumar-pu7xj 3 ปีที่แล้ว

    not working for 2013

  • @MushroomZuu
    @MushroomZuu 4 ปีที่แล้ว +1

    Sir. may you share with me the vba code?

    • @ExcelDestination
      @ExcelDestination  4 ปีที่แล้ว

      send me email at exceldestination@gmail.com , Let me check, if I have the original file with me. I will send that to you.

  • @kaanapadhiyar1143
    @kaanapadhiyar1143 2 ปีที่แล้ว +1

    Hello sir answer plz

  • @md.imrankhan1566
    @md.imrankhan1566 3 ปีที่แล้ว +1

    I have tried it but after writing the code when I go to Sheet and click over it that returns error of not assigning Function or Sub. Could u pls tell me why I am having this issue/

    • @ExcelDestination
      @ExcelDestination  3 ปีที่แล้ว

      without looking at entire code, I can not say anything. I guess, there could be typing mistake in function name.

    • @md.imrankhan1566
      @md.imrankhan1566 3 ปีที่แล้ว

      @@ExcelDestination Do u have any tutorial regarding VBA active X control using or assigning function properly?