Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 3rd, 2008, 05:16 AM
Authorized User
 
Join Date: Feb 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hewstone999
Default Add a button to a cell

I want to add a buttom to Cell D1 using VBA....

I already have the code to create a button, i just need the code to move the button to the required cell.

ANy help or ideas?



 
Old June 4th, 2008, 07:19 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

What do you mean by "cell?"


mmcdonal

Look it up at: http://wrox.books24x7.com
 
Old June 4th, 2008, 07:23 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

It just occurred to me that you were posting about Excel in an Access forum.

To add a button to an Excel worksheet, right click on the top menu, select Controls Toolbar, and then click the button control, and then click the cell. You will have to modify the size of the cell and the button to match each other since the button will just be ON the worksheet, and not IN any cell.

Did that help?


mmcdonal

Look it up at: http://wrox.books24x7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Using data from one cell to add to another LordJaffa Excel VBA 1 September 12th, 2007 03:27 PM
Add User Control to table cell in another UserCont veeruu ASP.NET 2.0 Professional 1 December 20th, 2006 06:22 AM
insert text to active cell by shared add-in Medes Excel VBA 0 May 5th, 2006 01:53 AM
Add Push button or Check Box in outlook add-ins capdevs VS.NET 2002/2003 0 January 7th, 2006 08:51 AM
How to add data to a DataGrid Cell. chiefouko VS.NET 2002/2003 2 July 28th, 2004 01:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.