Solved

Trying to set ActiveX Control formating to Don't move and resize with cells

Posted on 2013-12-19
2
358 Views
Last Modified: 2013-12-19
I am trying to set the format controls of several activex command buttons on an excel sheet to "Don't Move or size with cell" using vba.  I've looked into the placement property but do not see that option.  Below are the only three options I found

ws.Shapes("cmdDeleteLine").Placement = xlMove
ws.Shapes("cmdDeleteLine").Placement = xlMoveAndResize
ws.Shapes("cmdDeleteLine").Placement = xlFreeFloating
0
Comment
Question by:chtullu135
  • 2
2 Comments
 

Accepted Solution

by:
chtullu135 earned 0 total points
ID: 39729614
I found the answer at http://support.microsoft.com/kb/211835
xlFreeFloating is corresponds to Don't move or size with cells
0
 

Author Closing Comment

by:chtullu135
ID: 39729618
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now