Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Excel with Intranet

Thread Tools
 
Search this Thread
 
Old 20th July 2004 | 15:07
  #1 (permalink)  
Thread Starter
 
Joined: Jan 2000
Posts: 19
Likes: 0
From: Dublin, Ireland
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.
overwing is offline  
Old 21st July 2004 | 13:48
  #2 (permalink)  

Spicy Meatball
 
Joined: Jan 2004
Posts: 1,115
Likes: 0
From: Liverpool UK
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
mazzy1026 is offline  
Old 22nd July 2004 | 09:08
  #3 (permalink)  
Thread Starter
 
Joined: Jan 2000
Posts: 19
Likes: 0
From: Dublin, Ireland
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.
overwing is offline  
Old 22nd July 2004 | 12:27
  #4 (permalink)  

Spicy Meatball
 
Joined: Jan 2004
Posts: 1,115
Likes: 0
From: Liverpool UK
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
mazzy1026 is offline  
Old 23rd July 2004 | 11:30
  #5 (permalink)  
CH3CH2OH
25 Anniversary
 
Joined: Jul 2000
Posts: 526
Likes: 1
From: The Pub
Microsoft Link

Try here it may point you in the right direction;

Microsoft Support Search String
5711N0205W is offline  

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

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

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