Automatically Creating a Command Button

I

ianmacinnis

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
 
D

DP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top