+ Reply to Thread
Results 1 to 7 of 7

Glitch in VBA Code

  1. #1
    Registered User
    Join Date
    01-02-2021
    Location
    Mississauga
    MS-Off Ver
    Office 360
    Posts
    6

    Glitch in VBA Code

    I have a spreadsheet with a 'main screen' (when the 'department overview' icon is clicked, or basically the spreadsheet start from A1.
    When I click on the 'Team Breakdown' icon, it runs the below macro, which technically brings me to around row 100 of the spreadsheet (different part of the spreadsheet). -- This is PERFECT, what I want the button to do.

    My problem is that: When the macro runs, it seems like there's a glitch - in which all of the pictures, icons gets 'enlarged' before going back to the original size. (see below 2nd image)

    It is a very 'distrubing' view for the user, and I want it to stop. I DON"T WANT the icons to get enlarged, when the macro runs. I just want it to take me to the middle of the spreadsheet.

    Is there something I can do, to avoid the 'enlargement of the icons/pics' during the macro run? Thanks.


    ------------------
    Macro for the 'Team Breakdown' icon:

    Please Login or Register  to view this content.
    ------------
    images of spreadsheet:
    (see attachments)
    Attached Images Attached Images
    Last edited by MsJojo; 01-03-2021 at 01:45 PM.

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: Glitch in VBA Code

    Possibly...
    Please Login or Register  to view this content.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Glitch in VBA Code

    Try:

    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Glitch in VBA Code

    @dangelor: ah, too quick for me. At least we concur in our response.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Glitch in VBA Code

    Before the Moderators say it ...

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    (Note: this change is not optional.)

  6. #6
    Registered User
    Join Date
    01-02-2021
    Location
    Mississauga
    MS-Off Ver
    Office 360
    Posts
    6

    Re: Glitch in VBA Code

    Thanks, It works! - I don't see the 'glitch' anymore.

    But now, the button doesn't take me to the screen of Row 98 (see 3rd image where the screen shows starting Row98).
    Last edited by MsJojo; 01-03-2021 at 01:48 PM.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,436

    Re: Glitch in VBA Code

    Maybe swap these two lines over:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

+ 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. Situational glitch causes macro failure. Need to write VBA code to correct.
    By ericwilder in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2014, 04:49 PM
  2. Reputation glitch?
    By RobertMika in forum Suggestions for Improvement
    Replies: 8
    Last Post: 12-20-2013, 09:29 AM
  3. [SOLVED] IF(MIN) Formula glitch
    By dmad81 in forum Excel General
    Replies: 5
    Last Post: 06-01-2012, 11:11 AM
  4. "code execution has been interrupted" My error, or glitch?
    By DanBraden in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2011, 12:35 PM
  5. SUM GLITCH, What can I do?
    By n2lectual in forum Excel General
    Replies: 5
    Last Post: 03-21-2008, 02:43 PM
  6. [SOLVED] Random glitch?
    By Marty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2005, 11:05 AM
  7. Offset Glitch
    By Arturo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2005, 08:06 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