Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

danomaniac I need your help!

Status
Not open for further replies.

fanch72

IS-IT--Management
Joined
Mar 7, 2003
Messages
65
Location
SE
Hi Danomaniac,
your script did work perfectly on my computer at home yesterday but not on my PC at my job. I keep getting the following error:
"Subscript out of range" for the line
Set oldtable = ThisWorkbook.Sheets("OldTable")

what do you think that means?

Thanks again

Francois
 
Check that the workbook that you are running the VBA from has a sheet called "OldTable". ( exact spelling, no trailing spaces )

What the message means is sheet not found.


Glenn.
 
Thanks. You're right. The problem was that I had copied the script in the wrong workbook. My mistake and sorry...
Francois

 
Francois
Sorry I didn't respond sooner, but glad you got it. Thanks Glenn.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top