473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
Jul 21 '05 #1
3 5105
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 ....

"François" wrote:
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

Jul 21 '05 #2
On Fri, 4 Mar 2005 04:51:01 -0800, François <Fr*****@discussions.microsoft.com> wrote:

¤ 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 ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #3
Yes, finally it seems that it is the only solution. Missing a find like 'in
vba' to be quicker ....

Thanks for your answer.

"Paul Clement" wrote:
On Fri, 4 Mar 2005 04:51:01 -0800, François <Fr*****@discussions.microsoft.com> wrote:

¤ 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 ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
2
by: Agoston Bejo | last post by:
Hi, is there somewhere a file that holds constants for Excel Automation ActiveX objects, such as adovbs.inc for ADO constants? Thx
3
by: François | last post by:
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 :...
1
by: Boomessh | last post by:
Hi, I am trying to open an existing excel workbook. It pops up an error stating that “Errors were detected in 1598.xls but Microsoft Office Excel was able to open the file by making the repairs...
3
by: implicate_order | last post by:
Greetings, I'm new to python and am in the process of writing a script to parse some CSV data, spread it across multiple Excel worksheets and then generate charts. I searched the internet to...
3
by: Lance Hoffmeyer | last post by:
Hi all, I am trying to find the last used column in an excel sheet using win32com: lastcol = sh.UsedRange.Columns.Count works, but only if there is no formatting. I want to allow formatting...
4
by: =?Utf-8?B?THluZXJz?= | last post by:
Hello All, We have a VB.NET application writen using VS 2003. This application apens an excel file from a vendor, reads the data and performs whatever functions it needs. We recently upgraded our...
1
by: Ally | last post by:
Hi all, I’m looking to plot charts in Excel from python. After some Googling I’ve found the following code: def plot(x, y, xAxisLog=False, yAxisLog=False): # acquire application object, which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.