PPRuNe Forums

PPRuNe Forums (https://www.pprune.org/)
-   Computer/Internet Issues & Troubleshooting (https://www.pprune.org/computer-internet-issues-troubleshooting-46/)
-   -   Excel with Intranet (https://www.pprune.org/computer-internet-issues-troubleshooting/138302-excel-intranet.html)

overwing 20th July 2004 15:07

Excel with Intranet
 
I have a small Excel VB program running on my companies intranet. My problem is when I use the close button it gives an 'Out of range' error. Any Ideas.

mazzy1026 21st July 2004 13:48

How do you mean Excel VB? Is it an excel sheet that has VBA (visual basic for applications) code incorporated into it? VB and Excel are seperate development tools (well Excel isnt really a dev tool) but you can mix the two together for advanced users).

Plus, are you accessing it through the network (i.e. is it stored on the server) or is it on your local machine that happens to be networked?

Regards

Maz :)

overwing 22nd July 2004 09:08

Ta Spicy
Yes it is a spreadsheet with some macros (VBA), and it is on the server to be used from many locations. I'm not at work at the moment to give you the exact error code but 1004 also seems to appear at times all when the user tries to close the application.

mazzy1026 22nd July 2004 12:27

Behind the button that closes the sheet use the following code:

----------------------------------------------

On Error GoTo err1

me.close

err1:
MsgBox err.description

----------------------------------------------

This will attempt to close the worksheet, and if it cant, you will get the description of the error. If you get the description, post it back here.

cheers mate

Maz

5711N0205W 23rd July 2004 11:30

Microsoft Link
 
Try here it may point you in the right direction;

Microsoft Support Search String


All times are GMT. The time now is 12:17.


Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.