Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel VBA issue

Hi,

I have written a VBA application which reads data from DB
and creates an exce file with the data. This is working
fine on one computer, but when I try to run this VBA app
on a different computer, it is not creating the excel
file. Curious to know if Excel is working on that 2nd
computer, I launched excel manually and to my surprise
Excel not only opened a blank file but it also opened
another Excel file with the data I was saving from VBA.
When I am closing that file it asks me if I want to save
the information.
My question is why is not able to save the file on to the
hard disk, if the same VBA works on my system, is there
any thing wrong on the 2nd computer. Please let me know if
there is any thing I need to do to make it work. 2nd
computer has Excel 2000 installed.

TIA
-G
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA issue

Insert the line;

Excel.Application.Visible = True

After the code creates the file. It’s there. You just can’t see it.
Piku

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Excel VBA issue

Thanks Pikus,

But I don't want to launch excel, I just want to create
the file on the hard drive. It works fine on 1st computer,
creates excel file, but on 2nd, it does not create the
excel file.

Thanks
-G
-----Original Message-----
Insert the line;

Excel.Application.Visible = True

After the code creates the file. It's there. You just

can't see it. -
Pikus


---
Message posted from http://www.ExcelForum.com/

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA issue

What I mean is that your problem is not that the file is not bein
created. If you add that line you'll be able to see that it doe
indeed exist. You should look more towards how it is being saved t
find the problem. - Piku

--
Message posted from http://www.ExcelForum.com

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
Excel Issue Miki Excel Discussion (Misc queries) 5 August 20th 08 11:00 PM
Excel Issue Yaldain Excel Discussion (Misc queries) 0 August 30th 07 03:18 PM
Data Import to Excel Issue with Excel 2007 and Excel 2003 on same Melsh Excel Discussion (Misc queries) 0 August 1st 07 09:32 PM
Excel issue noor Excel Discussion (Misc queries) 1 January 9th 06 08:32 PM
Odd issue with Excel 97 SR-2 Gordon Excel Discussion (Misc queries) 3 February 10th 05 08:52 PM


All times are GMT +1. The time now is 09:34 PM.

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

About Us

"It's about Microsoft Excel"