Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-20-2012, 12:39 PM
viuf viuf is offline autofit text to shape (msoShapeRectangle) Windows XP autofit text to shape (msoShapeRectangle) Office 2007
Novice
autofit text to shape (msoShapeRectangle)
 
Join Date: Feb 2012
Posts: 10
viuf is on a distinguished road
Default autofit text to shape (msoShapeRectangle)

Hi...

I'm trying to autofit som text in a shape (a Rectangle), but I can only find autofit in ordinary textboxes. Can anybody help?



Thanks in advance

Code:
Set oshp = ActivePresentation.Slides(1).Shapes _
.addShape(msoShapeRectangle, left, top, width, height) ' left, top, width, height
    With oshp
        .Name = "Kategori" & countTwo
    End With
    With oshp.TextFrame.TextRange
        .Text = categories(countTwo)
    End With
    
    With oshp.Fill
        .ForeColor.RGB = RGB(200, 200, 200)
        .Visible = True
    End With
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
autofit text to shape (msoShapeRectangle) Adding text to auto shape and rotating Hot Mumma Word 1 06-14-2011 05:15 PM
autofit text to shape (msoShapeRectangle) Autofit Image to a Preset Cell GarethHourihane Drawing and Graphics 6 06-02-2011 05:05 AM
Custom shape in charts? gilezajner PowerPoint 0 12-15-2010 02:21 AM
autofit text to shape (msoShapeRectangle) Shape Objects Space Cowboy PowerPoint 4 10-04-2010 07:14 PM
Table Autofit Behavior Default Henri Blits Word Tables 0 07-18-2006 03:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft