Excel : how to find corresponding constants name in vb . net ?

G

Guest

Hello,
I'm currentry porting a vba project into vb .net
Things are going smoothly for the moment, but I'm loosing a lot of time to
find the counterparts constants name for ex :
ActiveCell.SpecialCells(xlLastCell).Select -> xlLastCell constant ??? where
can I find the corresponding constant in vb.net ?
Many thanks
 
G

Guest

Another ex :
With ThisApplication.Selection.Validation
.Delete()
.Add(Type:=xlValidateList, AlertStyle:=xlValidAlertStop,
Operator:= _
xlBetween, Formula1:="=Remarks")

xlValidateList, xlValidAlertStop, xlBetween ????

I have tried to search those with excel.Constants which give constants name
but not able to find ....
 
P

Paul Clement

¤ Hello,
¤ I'm currentry porting a vba project into vb .net
¤ Things are going smoothly for the moment, but I'm loosing a lot of time to
¤ find the counterparts constants name for ex :
¤ ActiveCell.SpecialCells(xlLastCell).Select -> xlLastCell constant ??? where
¤ can I find the corresponding constant in vb.net ?
¤ Many thanks

Have you looked in the Object Browser for Microsoft.Office.Interop.Excel.Constants?


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
G

Guest

Yes, finally it seems that it is the only solution. Missing a find like 'in
vba' to be quicker ....

Thanks for your answer.
 

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