Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hidden excels popping up when a new excel is opened.

I use a text file and a word file as inputs to my tool.
I convert both text & word files into separate excels.
then compare these 2 excels and write the discrepancies in another 3rd excel.
i set all the 3 excel sheets visible false.
When my tool(the above conversion& comparison) is running,
if i try to open another excel sheet(mail attachment or ,a new excel or any
other excel) I'm able to see all the 3 excels popped up along with the one I
opened.
i want my application based 3 excels not to be shown& be undisturbed, when I
want to work with a different excel.
Is there any way to do this???
This is a serious problem and I have no clue how to solve this.
Due to this my application stops in between with an exception.

Please help me.

Thanks
Kalyani J

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Hidden excels popping up when a new excel is opened.

How about starting a new excel application? It sounds like you need a new
instance of Excel. Here is some code to do this;

Sub Kalyani()
Dim myXl As Excel.Application
Dim wbk As Workbook
Dim sht As Worksheet

Set myXl = New Excel.Application
myXl.Visible = True
Set wbk = myXl.Workbooks.Open("....")
Set sht = wbk.Sheet(1)

'Do stuff here...

Set sht = Nothing
'wbk.Close False
myXl.Quit


End Sub

"Kalyani" wrote:

I use a text file and a word file as inputs to my tool.
I convert both text & word files into separate excels.
then compare these 2 excels and write the discrepancies in another 3rd excel.
i set all the 3 excel sheets visible false.
When my tool(the above conversion& comparison) is running,
if i try to open another excel sheet(mail attachment or ,a new excel or any
other excel) I'm able to see all the 3 excels popped up along with the one I
opened.
i want my application based 3 excels not to be shown& be undisturbed, when I
want to work with a different excel.
Is there any way to do this???
This is a serious problem and I have no clue how to solve this.
Due to this my application stops in between with an exception.

Please help me.

Thanks
Kalyani J

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Hidden excels popping up when a new excel is opened.

Thanks for the reply.
i have opened 3 different new Excel applications for processing.
The problem is when i open a new excel sheet on my system to work on. The
hidden excels popping out with this one.
im not able to work on any excel when my application is running...

So i want to know when ever user opens an excel when my application is running
Is this possible??



"JRForm" wrote:

How about starting a new excel application? It sounds like you need a new
instance of Excel. Here is some code to do this;

Sub Kalyani()
Dim myXl As Excel.Application
Dim wbk As Workbook
Dim sht As Worksheet

Set myXl = New Excel.Application
myXl.Visible = True
Set wbk = myXl.Workbooks.Open("....")
Set sht = wbk.Sheet(1)

'Do stuff here...

Set sht = Nothing
'wbk.Close False
myXl.Quit


End Sub

"Kalyani" wrote:

I use a text file and a word file as inputs to my tool.
I convert both text & word files into separate excels.
then compare these 2 excels and write the discrepancies in another 3rd excel.
i set all the 3 excel sheets visible false.
When my tool(the above conversion& comparison) is running,
if i try to open another excel sheet(mail attachment or ,a new excel or any
other excel) I'm able to see all the 3 excels popped up along with the one I
opened.
i want my application based 3 excels not to be shown& be undisturbed, when I
want to work with a different excel.
Is there any way to do this???
This is a serious problem and I have no clue how to solve this.
Due to this my application stops in between with an exception.

Please help me.

Thanks
Kalyani J

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
In excels if function can i ask excel to shade cells on result? The Badger Excel Discussion (Misc queries) 2 July 18th 06 08:44 AM
stop excel file opened as read only if already opened by another u bobm Excel Programming 3 August 5th 05 04:11 PM
Can 1 create a excel dahboard charts that pulls from other Excels Avner Charts and Charting in Excel 0 May 6th 05 07:06 PM
Keeping a workbook hidden when opened via VBA??? Simon Lloyd[_585_] Excel Programming 3 October 6th 04 03:21 PM
Keeping a workbook hidden when opened via VBA??? Simon Lloyd[_586_] Excel Programming 0 October 6th 04 03:16 PM


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"