+ Reply to Thread
Results 1 to 5 of 5

Help with modifying VBA Macro - Works fine but needs fine tuning !

  1. #1
    Registered User
    Join Date
    10-03-2015
    Location
    Perth
    MS-Off Ver
    2013
    Posts
    13

    Help with modifying VBA Macro - Works fine but needs fine tuning !

    Below is VBA Macro Code that uploads images from Desktop Folder onto Worksheet. The code is Functional ie it works fine, but need some modification.

    Please Login or Register  to view this content.
    The code seems to ALTER the size of image during upload, which I DON'T want it to.

    I have already created standard, uniform size of all images.

    I simply want the code to pick the image & place it on Worksheet, without re-sizing it.

    The Image size is 210 px X 150 px. - the code should also adjust size of Row Height & Col Width accordingly.

    Anyone care to modify the code to remove that aspect of it's functionality ?

    Thanks in Advance.
    Last edited by JBeaucaire; 10-05-2015 at 05:54 PM. Reason: Fixed CODE tags

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Help with modifying VBA Macro - Works fine but needs fine tuning !

    You can try this:
    Please Login or Register  to view this content.
    There is code you could use to auto adjust the column width but it is more complicated.
    If this is fine for you, go that way. A lot easier.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    10-03-2015
    Location
    Perth
    MS-Off Ver
    2013
    Posts
    13

    Re: Help with modifying VBA Macro - Works fine but needs fine tuning !

    Thanks - i'll try it out.

  4. #4
    Registered User
    Join Date
    10-03-2015
    Location
    Perth
    MS-Off Ver
    2013
    Posts
    13

    Re: Help with modifying VBA Macro - Works fine but needs fine tuning !

    I have attached Sample Excel, after running the code, unfortunately Output is not acceptable.

    I can assure you that all the images in the Folder are ALL uniform, Standard size ie 210 by 150 px.

    Yet some images are smaller ?!
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-03-2015
    Location
    Perth
    MS-Off Ver
    2013
    Posts
    13

    Re: Help with modifying VBA Macro - Works fine but needs fine tuning !

    Ok -i've found a fix to the problem.

    I am closing out this ticket.

+ 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. [SOLVED] Combo Box fine tuning
    By FLHR01 in forum Excel General
    Replies: 15
    Last Post: 09-30-2014, 06:00 PM
  2. Fine tuning a macro...
    By cafc_fuller in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-30-2013, 07:41 AM
  3. [SOLVED] Need help fine tuning a macro
    By jaimeteele in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-27-2013, 04:43 PM
  4. [SOLVED] need help fine tuning a formula
    By nje in forum Excel General
    Replies: 4
    Last Post: 07-10-2012, 04:55 AM
  5. Great macro for filtering a unique list - some fine tuning
    By pekde in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-24-2010, 01:32 AM
  6. Fine-tuning VBA code
    By smurray444 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-08-2007, 11:49 AM
  7. [SOLVED] help w/ fine tuning
    By Mike in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-19-2005, 04:05 PM

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