+ Reply to Thread
Results 1 to 3 of 3

Don't move or size with cells not working!

  1. #1
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    Don't move or size with cells not working!

    Hi guys,

    Not sure if someone can assist me with the below.

    I have 5 images which are located in Sheet 1 in the range F5 to H8. With each image I have assigned a macro and everything seems to work fine. Moreover I have set the properties to 'don't move or size with cells' for each image.

    the only problem I have is with one of the macros whose function is to clear advanced filters:

    Please Login or Register  to view this content.
    Problem

    Every time I run this macro it is resizing all the 5 images and moving them around even though I have set the properties of each image to 'don't move or resize with cells'.

    Is there a possible solution to stop the images from being moved around and resized when this macro is executed?

    Thanks a lot for all your help guys!!

    Keibri

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

    Re: Don't move or size with cells not working!

    Hi Keibri,

    Unfortunately, I think you may have stumbled upon a feature of Excel, that provides unanticipated consequences.

    I have see these symptoms before when a Control (or image) is on a Sheet and rows/columns are hidden and then unhidden.

    The workaround I have used is to save the Names, Top, Left, Height, and Width of the images. When the Macro is executed, restore the parameters of the image that are not the same as the saved value for that parameter. To make this job easier, whenever I create a workbook with controls (images) that may be corrupted, instead of creating the controls manually, I use a macro to create them. That way I know ahead of time what the parameters are that I want to restore.

    I hope this helps.

    Lewis

  3. #3
    Forum Contributor
    Join Date
    02-09-2015
    Location
    malta
    MS-Off Ver
    Microsoft 365
    Posts
    387

    Re: Don't move or size with cells not working!

    Hi Lewis!

    Thanks a lot for your reply mate ! I think your suggestion is the solution cause I've been trying to play around with it for hours and can't seem to sort it out!

    Thanks a lot !

    Wishing you a happy new year!

    Keibri

+ 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. WordArt: Move and Size with Cells
    By dsv2kx in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-20-2013, 08:45 PM
  2. Move and size with cells greyed out- form control checkboxes move after printing 2010
    By Duffy1974 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-26-2012, 09:19 AM
  3. Insert image with move and size with cells
    By CocoriCoy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2012, 12:41 PM
  4. Don't Move or size with cells
    By Streng in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2010, 04:49 AM
  5. Move or Size Combo Box from forms toolbar With Cells
    By steve-o in forum Excel General
    Replies: 7
    Last Post: 12-06-2005, 11:15 AM
  6. Can the Combo Box move and size with cells radio button be enable
    By Tom Cote in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 PM
  7. Can the Combo Box move and size with cells radio button be enable
    By Tom Cote in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  8. Can the Combo Box move and size with cells radio button be enable
    By Tom Cote in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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