Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-11-2009, 09:04 PM
KHTAY KHTAY is offline
Novice
Subscript out of range error
 
Join Date: Jan 2009
Posts: 3
KHTAY is on a distinguished road
Default Subscript out of range error

Hi All,



I am new to this forum. Hope u guys can help me wif my problem.

I developed a small tool for my company using EXCEL 2003 - VBA. It works well on some machine but not on others. For few machine, they would get the above error. I have a master sheet on the excel where user click 'Refresh ALL' button, all data on all the sheets will be updated with current data and each sheet has a button to refresh its data too. The button on each sheet works very well. But for the 'Refresh All' button, user will encounter the error. Below is the part i suspected is giving the error:

Sheet2.Range("A3").CopyFromRecordset rs

Hope u guys out there can help me. Thks in advance.
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Range names and length stuff. Please help-a-noob. contiw Excel 2 09-06-2007 07:59 AM
Subscript out of range error Mysterious "Subscript out of range" error rnstewart Excel 4 12-29-2005 01:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft