> Is there a way of changing the value of a label in a custom dialog
> box. I want a label to become a tracking number that the user can
> not change. I have been able to get the value to come up in an
> edit box but not as a label. Here is what I have tried:
> DialogSheets(1).EditBoxes(9).Text="Tracking Number"
> These both work but I want to be able to do this for a label
> DialogSheets(1).Labels(9).Text="Change this value"
> Am I going about this the wrong way?
> Thank in advance
upper left hand corner is "Label 9", use the following code.
DialogSheets(1).Labels("Label 9").Text = "Change this value"