Thread: Commandbutton
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
alvin Kuiper alvin Kuiper is offline
external usenet poster
 
Posts: 175
Default Commandbutton

Hi
Nice off you to answer
But i can't get it to work
I have see in help and here stand
that i shall write
command1.forecolor = something
but i only get an error en forecolor
if i write command1. then forecolor don't come foreward as option
and in my toolbox for the commandbutton i can't see the option
forecolor, so what to do?

Best regards
Alvin


"Peter T" wrote:

Same way in VB as in VBA, subject to qualifying to Excel.Application

xlApp.ActiveSheet.OLEObjects("CommandButton1").Obj ect.ForeColor = 255

Regards,
Peter


"alvin Kuiper" wrote in message
...
Me again

In VBA i can use Forecolor in the tollbox for a Commandbutton
But i can't find this in VB for a commandbutton
If someone know about this, Please Write back
Remember it is not in VBA But in VB

Best regards
Alvin