Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Datamatrix ActiveX control

I have incerted an ActiveX control in my spreadsheet: a Datamatrix label
(scanning label).

I have linked this control with a cell via the LinkedCell property of the
control.

I have made a macro to print labels with a serial number and a Datamatrix
scanning label linked to this serial number. When I run the macro, I can see
that the label changes, every time I change (via the macro code) the cell it
is linked to. However, during printing, the label does not change with the
serial number but stays the same, although the serial number changes.

I do not know what code to write. I have already used:

Activesheet.Shape("datamatrixctrl1").select
selection.LinkedCell = "w5"

but this does not work.

Help!

Kind Regards, Koen Lauriks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Datamatrix ActiveX control

I don't know this control, but you should have some documentation to
describe how to use it.

if the control is an ActiveX control, look on the sheet's code page
(right-clicking the sheet tab and select View Code) asnd select the object
in the object dropdown in the upper left side. If it is there, then in the
upper right hand drop down you will see the available methods. Take a look
and see if there's anything there that might assist you


"KoenLauriks" wrote in message
...
I have incerted an ActiveX control in my spreadsheet: a Datamatrix label
(scanning label).

I have linked this control with a cell via the LinkedCell property of the
control.

I have made a macro to print labels with a serial number and a Datamatrix
scanning label linked to this serial number. When I run the macro, I can
see
that the label changes, every time I change (via the macro code) the cell
it
is linked to. However, during printing, the label does not change with the
serial number but stays the same, although the serial number changes.

I do not know what code to write. I have already used:

Activesheet.Shape("datamatrixctrl1").select
selection.LinkedCell = "w5"

but this does not work.

Help!

Kind Regards, Koen Lauriks

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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
ActiveX Control in VB.Net Adam[_19_] Excel Programming 0 October 7th 07 02:54 AM
publish activeX combobox and other activeX control irene c Excel Programming 0 March 19th 07 07:19 AM
How to control "Date Time Picker ActiveX Control" Jafery Excel Programming 1 July 21st 05 02:38 PM


All times are GMT +1. The time now is 11:03 AM.

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

About Us

"It's about Microsoft Excel"