+ Reply to Thread
Results 1 to 2 of 2

Insert Picture in Excel using macro

  1. #1
    Registered User
    Join Date
    07-26-2014
    Location
    Mauritius
    MS-Off Ver
    office 2007 and 2010
    Posts
    6

    Insert Picture in Excel using macro

    Hi All,

    I want a macro to insert an image in an excel sheet however there is an error when running the macro in another PC.
    The error occur because the picture is not located in the specified folder path.
    To be more precise i want the macro to embedded the image into excel and the image should appear irrespective of any location i want to run the excel.
    The picture should be saved in the excelsheet and not in a folder.
    Hope someone can help.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Insert Picture in Excel using macro

    Hi kunal2490,

    Try code like the following. The items in red should help embed the picture into the Excel File.
    Please Login or Register  to view this content.
    See https://www.safaribooksonline.com/li...63/re1288.html

    Lewis

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Old excel file with picture insert macro doesn't work properly...
    By rcurious in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2014, 05:56 PM
  2. [SOLVED] Insert name of the picture in the excel vba macro
    By umamaheshwar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 04:58 AM
  3. VB code to insert picture when email picture not in excel
    By T_BOLT in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-07-2014, 06:42 AM
  4. Creating macro to insert a picture by including specific picture name & path
    By NissaFrenchRamsteyn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-09-2012, 05:40 AM
  5. [SOLVED] Excel Insert and Resize Picture Macro Problem in 2007
    By pinstripe05 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2012, 10:40 PM
  6. [SOLVED] macro: insert picture based on workbook location, not picture root path.
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2012, 07:47 AM
  7. Insert picture macro doesn't work in Excel 2007
    By bren21171 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2009, 04:58 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1