Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 21st, 2005, 03:54 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default Setting a new Excel application

Hello there,

I have a application written in Visual Basic 6.0 that manipulates the contents with MS Excel. I have set the visible property of the application to false and have created a new instance of the application through code. However, when a new spreadsheet is opened by an user when the application is running, the workbook used by the program (VB) is opened and disallows the user editing content in MS Excel. I have also kept the application.interaction = false.

Thanks in advance

Shasur

__________________
C# Code Snippets (http://www.dotnetdud.blogspot.com)

VBA Tips & Tricks (http://www.vbadud.blogspot.com)
 
Old September 21st, 2005, 10:12 AM
Authorized User
 
Join Date: Feb 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Ill also answer here

Try setting Application.UserControl = True





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting my Application as Startup in WinXp Venkatachalam ASP.NET 2.0 Professional 1 February 4th, 2008 11:28 AM
date time setting for asp.net web application swati_joshi ASP.NET 1.0 and 1.1 Professional 1 November 8th, 2006 08:59 AM
write multi-sheet Excel w/o Excel.Application manmoth Classic ASP Components 2 November 22nd, 2005 10:56 AM
Setting a new Excel application Shasur Excel VBA 1 September 21st, 2005 10:11 AM
Setting up a folder as an application lorenzo Classic ASP Databases 1 February 17th, 2004 04:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.