Solved

Help with my Excel control

Posted on 2012-04-03
2
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 37801110
did u try:

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

Author Comment

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

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

696 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