Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 50
Default Launching from IE

Hiya,

I've built an Excel file with a user form that provides boxes to search our
SQL database and populate the spreadsheet with the data it finds.

This works absolutely fine when opening from a local or network drive, but
when providing this on our intranet, the form works the first time, but when
clicking the New Search button (which just invokes the form) I get VBA error
messages.

Any ideas?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Launching from IE

I'm guessing that you have a link on a web page that points to your excel file.

And when you open the excel file, it opens in MSIE--not excel proper.

If that's true, then I'd change this behavior (and not update the code).

Open windows explorer (not MSIE).
Tools|folder options|file types tab
Scroll down to XLS and select it
Click the Advanced button
And uncheck Brows in Same window

Do the same for all the extensions you need: XLSM, XLSX, etc...

=======
I've never found a good way to be 100% sure that the Excel VBA code will work
when the file is opened in MSIE.

Andy Smith wrote:

Hiya,

I've built an Excel file with a user form that provides boxes to search our
SQL database and populate the spreadsheet with the data it finds.

This works absolutely fine when opening from a local or network drive, but
when providing this on our intranet, the form works the first time, but when
clicking the New Search button (which just invokes the form) I get VBA error
messages.

Any ideas?

Thanks


--

Dave Peterson
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
Launching Excel RichD Setting up and Configuration of Excel 2 December 20th 07 02:29 AM
Launching Excel programmatically not the same as launching excel manually Atchoum Excel Programming 2 November 24th 04 06:24 PM
Launching form Peter Osawa Excel Programming 0 September 3rd 04 02:27 PM
Launching Excel mercury Excel Programming 0 November 19th 03 02:24 PM
Launching a DOS box from VBA David Dalebroux Excel Programming 2 November 9th 03 04:32 PM


All times are GMT +1. The time now is 03:52 PM.

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"