Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old June 25th, 2004, 12:34 PM
Rakshan Syed Rakshan Syed is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 44 Rakshan Syed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 48 sec
Reputation Power: 5
Open excel and refresh data from vb executable

i have a excel spreadsheet that i want to open and refresh data every day. I want to code this in VB so i can run a executable to do that for me. Please help? I am new to VB and have no ideas how to start this?

Thanks,
Rakshan
__________________
raks

Reply With Quote
  #2  
Old June 25th, 2004, 03:02 PM
Rakshan Syed Rakshan Syed is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 44 Rakshan Syed User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 48 sec
Reputation Power: 5
Ok, I have written a Vb program that refreshes data in Excel, everytime data is updated i get a prompt (windows dialog box) to confirm update. How can i handle that in VB code. I will have to manually click on OK button before it goes any further. I think i need some kind of dialog properties visibility option turned off.


Thanks,
Rakshan

Reply With Quote
  #3  
Old June 25th, 2004, 03:18 PM
spak111 spak111 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 349 spak111 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 25 sec
Reputation Power: 5
Send a message via AIM to spak111
Well, it depends on how you are updating. If you are using OLE Automation, you should simply be able to insert this into your code before updating it:

Application.DisplayAlerts = False

Hope this helps.

Reply With Quote
  #4  
Old October 19th, 2004, 06:36 PM
sriganda sriganda is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 sriganda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Open excel and refresh data from vb executable

Hi
could any one of you tell me how to write a vb program that refreshes data in excel file without opening the excel file manually?

Rakshan
I think we both are having similar requirement. if you have already solved the issue, could you give me some hints?

Thanks & Regards
Sri

Last edited by sriganda : October 19th, 2004 at 06:42 PM. Reason: previous message was not deleted

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Open excel and refresh data from vb executable


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway