Results 1 to 2 of 2

Thread: Align Shapes (Charts) On ActiveWorksheet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Junior Member
    Join Date
    May 2012
    Posts
    25
    Rep Power
    0
    Hi,

    here intMaxH & intMaxW are never used.

    Code:
                If intICounter Mod bytRow = 0 Then
                    intleft = .Shapes(intICounter + 1 - bytRow).Left + sngWidth
    in above code, if bytRow=255, then wouldnt the shape be out of visible screen?


    and in this 2nd loop it gives an error:
    Code:
                For intICounter = 0 To IntNShapes - 1
                    intTempArr(intICounter) = .Shapes(intICounter).Width
                Next
                intMaxW = WorksheetFunction.Max(intTempArr)
    Last edited by Junoon; 05-14-2012 at 03:57 AM.

Similar Threads

  1. Did You Know? :: Formatting Shapes in Powerpoint & Excel: Setting Defaults
    By Transformer in forum Tips, Tricks & Downloads (No Questions)
    Replies: 0
    Last Post: 05-19-2013, 08:35 AM
  2. Adding charts via code to a protected sheet
    By Rasm in forum Excel Help
    Replies: 2
    Last Post: 11-14-2012, 05:11 PM
  3. Index Sheets with Shapes and Hyperlink
    By TomyLee in forum Excel Help
    Replies: 9
    Last Post: 09-04-2012, 10:52 PM
  4. Replies: 2
    Last Post: 02-29-2012, 08:24 PM
  5. VBA - Secondary axis - CHARTS
    By albi85 in forum Excel Help
    Replies: 1
    Last Post: 04-05-2011, 03:56 AM

Tags for this Thread

Posting Permissions

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