Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 60
Default Textbox margin overwritten by auto-margin

We have a textbox that is added in vba, and when we try to set the margin in
the vba code the auto-margin settings keep over-writing the settings in our
code. Here is how we are adding the textbox:

ActiveSheet.Shapes.AddTextbox(msoTextOrientationHo rizontal, 281, 23.75, _
260, 25).Select
Selection.?????????

Does anyone know a way to prevent the auto-margin settings from taking over?

Thanks!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
margin formula baseballguy Excel Discussion (Misc queries) 2 October 9th 08 02:48 AM
Margin Account Husky New Users to Excel 0 March 13th 08 01:46 PM
Formatting Footers from Margin to Margin Stacia S Excel Discussion (Misc queries) 5 July 31st 07 12:31 AM
margin of error Lexi[_2_] Excel Worksheet Functions 2 June 20th 07 08:00 PM
MArgin in printform Alvin Hansen[_2_] Excel Programming 1 September 26th 04 04:36 PM


All times are GMT +1. The time now is 10:49 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"