Solved

Help with my Excel control

Posted on 2012-04-03
2
181 Views
Last Modified: 2012-04-11
Hello EE,

I have two AxspreadSheet control in my vb.net Form.

Lets say I write "Test" in cell A2 and "Hello World" in cell B2, and "Good Morning" on C2
When I click my button Save, I do a Loop and I write all the text in the other Spreadsheet at the same Cells.

By the way the other Spreadsheet is set to Visible False.

then, I could go right click on column C2 and Remove a column.

My problem is I dont know how to Remove the column programmatically in the other spreadsheet..I dont see any event

can you help ?
0
Comment
Question by:PhilippeRenaud
2 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
Comment Utility
did u try:

AxspreadSheet.Columns.Delete(<col object to delete>)
0
 
LVL 1

Author Comment

by:PhilippeRenaud
Comment Utility
but How can I know wich column the user right clicked and pressed delete ?
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now