Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

Excel Interaction

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
levimefford@gmail.com - 16 Oct 2007 05:56 GMT
Alright, so I've got a pretty hefty program that is integrating with
excel. My problem is that I'm wanting to avoid a particular dialog
from appearing, just because the portion that it pertains to is
automated. Basically, this has to deal with the .merge function for a
range of cells in excel. It basically asks if I want to continue to
merge the cells since the data from the upper left will be the only
data used. I'm not sure why it asks this, though, considering the
worksheet has no data on it, unless it (for some reason unknown to me)
is trying to apply the changes retrospectively to previously created
worksheets and then overriding that data in my newly created
worksheet.

What I wanna know is how to make it automatically accept those changes.
Jan Hyde (VB MVP) - 16 Oct 2007 09:29 GMT
"levimefford@gmail.com" <levimefford@gmail.com>'s wild
thoughts were released on Tue, 16 Oct 2007 04:56:49 -0000
bearing the following fruit:

>Alright, so I've got a pretty hefty program that is integrating with
>excel. My problem is that I'm wanting to avoid a particular dialog
[quoted text clipped - 9 lines]
>
>What I wanna know is how to make it automatically accept those changes.

Some methods allow you to pass flags that will prevent such
messages, I have no idea if that is the case here.

However you might try looking at the DisplayAlerts property.

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
Rad [Visual C# MVP] - 16 Oct 2007 13:54 GMT
>"levimefford@gmail.com" <levimefford@gmail.com>'s wild
>thoughts were released on Tue, 16 Oct 2007 04:56:49 -0000
[quoted text clipped - 18 lines]
>
>However you might try looking at the DisplayAlerts property.

You could also try sending keystrokes to the excel instance and see if
you can push the buttons that way

--
http://bytes.thinkersroom.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.