Solved

Help with my Excel control

Posted on 2012-04-03
2
190 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

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

691 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