Help with formating using VBA

spike250

Registered User.
Local time
Today, 07:19
Joined
Aug 6, 2009
Messages
70
Hi all,

I have the following code and most of it works apart from the last part to add an * to the end of the line.

Does anyone have any idea how I can get it to add the * at the end of the text box.

It displays the first one but not the last one?

Code:
txtLabel1 = "*IQA" & Format(txtLabel1, "000") & Format(txtLabel1, "/10") _
& Format(txtLabel1, "*")

Regards

Spike
:confused::confused::confused:
 
Hi all,

I have the following code and most of it works apart from the last part to add an * to the end of the line.

Does anyone have any idea how I can get it to add the * at the end of the text box.

It displays the first one but not the last one?

Code:
txtLabel1 = "*IQA" & Format(txtLabel1, "000") & Format(txtLabel1, "/10") _
& Format(txtLabel1, "*")

Regards

Spike
:confused::confused::confused:

Try using this at the end of your statement:

& "*"

instead of

Format(txtLabel1, "*")
 
Hi,

Thanks for the quick reply.

Works a treat.

Thanks again.

Spike
:cool:
 

Users who are viewing this thread

Back
Top Bottom