ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Automatically Creating a Command Button (https://www.excelbanter.com/excel-programming/397350-automatically-creating-command-button.html)

[email protected]

Automatically Creating a Command Button
 
To All,

I have a spreadsheet we are using a work and need a little help with
the code. In one column (A)we have a six digit number that
automatically creates a bar code in the next column(B). What I would
like to have is when the bar code is created in column(B) a command
button is automatically created in column (C). I know how a command
button is created, but need it to automatically be created in column
(C). If anyone can help me would with the code that would be great.

Thanks


DP

Automatically Creating a Command Button
 
Worksheets(1).OLEObjects.Add "Forms.CommandButton.1", _
Left:=10, Top:=10, Height:=20, Width:=100

i have yet to figure out how to put it in cell c

sorry

" wrote:

To All,

I have a spreadsheet we are using a work and need a little help with
the code. In one column (A)we have a six digit number that
automatically creates a bar code in the next column(B). What I would
like to have is when the bar code is created in column(B) a command
button is automatically created in column (C). I know how a command
button is created, but need it to automatically be created in column
(C). If anyone can help me would with the code that would be great.

Thanks




All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com