LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Code compiles but Excel ERROR

Hi,

Thanks for the reply Nick.

Just to let you now, I found the problem and it was quit interesting.
========

As I played around with the wb design and stuff, copying, deleting,
renaming
and moving sheets I somehow messed up their naming order as by its
property
name (not the TAB name). I noticed this as I was copying the sheets ,
code
and modules to a blank wb (Someone on another site told me to do this)

Sheet1 was sheet nr 2 in the wb (TAB named the same)
then there was Sheet4 wich was sheet nr 1 in the wb (TAB named the
same)
then Sheet2 wich was sheet nr 3. (TAB also correct)

It was wrong and/or defragmented. I renamed the sheets names to the
same name
as their TAB's and moved them in the same order on the Project browser
as
displayed in the wb view. I saved and closed and believe it or not NO
error!

Was it the renaming OR the Copying of the code, sheets and modules to
a blank
wb? that did the trick, I HAD to know

I tried the same porcedure from a saved error-copy of my project. Made
sure first it was still busted before I started. I copied , but did
not rename,
then saved and closed. Sure enough, my favoured popup blasted onto the
screen.
I reoped the same wb , renamed & sorted the sheets ,saved and closed.
100%
OK!

This was a first for me, quess that is how you learn. Thanks again,

roba
 
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
Error in Excel 2007 code Lorne[_2_] Excel Discussion (Misc queries) 3 November 6th 07 05:39 PM
How do I set up an Excel worksheet that compiles data from other . BeginnerExceluser Excel Worksheet Functions 1 March 18th 05 09:01 PM
VB Editor compiles before I finish typing serkan Excel Programming 1 February 25th 04 12:34 PM
Excel return error code Gary Lam Excel Programming 2 August 18th 03 06:19 PM


All times are GMT +1. The time now is 07:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"