|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Editing an Excel Worksheet with vb.netI have written code to open an excel workbook and edit 2 worksheets.
The code works great opening and editing a general workbook, but, though it opens it fine, it will not edit the worsheets in the specific workbook I need to edit. Though it has this problem it never throws any kind of exception, just completes like it worked fine. The only difference with the workbook I need to edit is that it contains macros. When I open the file, I get the "Enable Macros?" dialog box. I am thinking that this dialog box is in the way when my ap tries to edit the worksheets. I have no idea how to get past this and I am at my wit's end. Any ideas? Did you remember to
Application.DisplayAlerts = False -- Show quoteHide quoteGet a powerful web, database, application, and email hosting with KJM Solutions http://www.kjmsolutions.com <chris.bu***@gmail.com> wrote in message news:1145041483.101621.109480@e56g2000cwe.googlegroups.com... >I have written code to open an excel workbook and edit 2 worksheets. > The code works great opening and editing a general workbook, but, > though it opens it fine, it will not edit the worsheets in the specific > workbook I need to edit. Though it has this problem it never throws > any kind of exception, just completes like it worked fine. > > The only difference with the workbook I need to edit is that it > contains macros. When I open the file, I get the "Enable Macros?" > dialog box. I am thinking that this dialog box is in the way when my > ap tries to edit the worksheets. > > I have no idea how to get past this and I am at my wit's end. Any > ideas? >
Nothing as a char of a string
How to release a free source code? Dynamically open forms, reports or call functions Copywriting or protecting your program Database update problems. Threading a Create Dataset method is there a way to do this How to show a form of c# in VB.Net from ? Running Apps and Threads String Tokenizing - Help! |
|||||||||||||||||||||||