+ Reply to Thread
Results 1 to 4 of 4

Move Two Shapes In The Same Loop

  1. #1
    Registered User
    Join Date
    09-22-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    55

    Move Two Shapes In The Same Loop

    Hi Guys,

    I've read that excel vba is a single thread program. Problem is i'm trying to move two shapes at the same time. Was wondering if the Move shape Do Until Loop on the attached spreadsheet can be changed so shape 1 moves a bit then shape 2 moves a bit so it appears they are moving at the same time. On the attached spreadsheet it is "AnimationTwoShapesVer2" that i have been playing around with. The other catch is both shapes will have different finishing points so when one shape reaches its finishing point the loop will need to continue only moving the other shape.

    Thanks Again
    Primed
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Move Two Shapes In The Same Loop

    Change this section of your code:

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Move Two Shapes In The Same Loop

    You may also try a separate function:
    Please Login or Register  to view this content.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  4. #4
    Registered User
    Join Date
    09-22-2011
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    55

    Re: Move Two Shapes In The Same Loop

    Awesome as usual guys.

    Both worked, now the tough decision. Which one do i use

    Thanks
    Primed

+ 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. Inserted shapes move when printed
    By chibicris in forum Excel General
    Replies: 1
    Last Post: 02-21-2014, 10:39 AM
  2. how to move excel shapes
    By jonelamora in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-24-2012, 10:45 PM
  3. Help with loop to fill color of shapes (US map)
    By harleyberger in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2012, 01:50 PM
  4. Move Shapes to Grid in Excel
    By Environment in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2011, 08:40 AM
  5. How To Move Shapes From Another Shapes? (floating shapes)
    By MarcLev in forum Word Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2009, 04:04 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