Link to home
Start Free TrialLog in
Avatar of Cook09
Cook09Flag for United States of America

asked on

Running Excel 2007 in Server 2008

I have developed an application that runs well on my Local XP machine running Office 2007.  We want to move this application to an application server, so that multiple users can access it.  We also need to access it through Citrix as we have a number of MAC users, but that issue is for later.

Right now, in just trying to compile the code in 2008, it errors out on statements that have [variable]'s around them.  The error mostly seen is: Can't find the Project or Library.  There were a couple of MISSING References, but I added those in.  To further check out the issue, those MISSING references were unchecked in the XP machine, restarted,  recompiled, and it seems they weren't needed as it compiled with no errors.

Server 2008 is 64 bit, but the application is being run on Excel from the x86 folder in Program Files.

What other areas need to be checked so that, the Evaluate [...]'s and other functions such as:

Private Function TransparentUserForm(frm As UserForm, Level As Byte) As Boolean

will work properly?
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

What references do you have checked? Are they now all ok on the Server 2008 machine?
If so, can you give a specific example of a line that causes an error and what the message is? ( generally it's better to specify Evaluate than use the [...] notation)
Avatar of Cook09

ASKER

Rory,
Let me get back to you in a minute.  I just remembered reading something that if errors occurr and there were missing libraries, just uncheck those libraries and see if it still has the same issues.  Two files that were missing dealt with SharePoint, so I unchecked those, and some of the uncompiled errors cleared up.  I'm now checking on some of the others, and re-ordering the priority of certain libraries to see if that also makes a difference.

If this is indeed the issue, then am I to understand that if there are issues with a library file that is higher up in the priority list, it may halt with an error before proceeding down the rest of the list?

Cheers,
Ron
ASKER CERTIFIED SOLUTION
Avatar of Rory Archibald
Rory Archibald
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Cook09

ASKER

Rorya,

That must be what could have been occurring.  Right now, everything seems to be working fine.  But, I do have an "off-the-wall" question, which I can ask separately if you wish.

The way I had my color scheme in XP, the Hidden color was 4210752 (I don't know how I found that).  In moving to Server 2008, the hidden rows (cells) are of a different color.  But, since the cells are hidden they can't be selected to find out the color number.  Do you know the best way to do this?

Ron
I have no idea what you mean by the Hidden colour?
Avatar of Cook09

ASKER

When all of the rows from 'X' to  the very Last Row are hidden, they take on a specific color.  In using that same color for the area around a Table or, well, the visible rows, it produces a pleasant 3D effect at the intersection of the visible rows and hidden rows. Microsoft shadows the last visible row, to give it that appearance. I'd like to duplicate that in Server 2008.  Now, the issue is finding the color number.

Ron
Avatar of Cook09

ASKER

Rorya,

I think I found it.  By using the macro recorder, and by chance one of the rows in my Table looking very similar to the Hidden color, I just did a paste special formats to a visible cell and it gave me the number.  If it's not exact, it's still close enough for me.  BTW it's color  # 14211288.

Ron
Avatar of Cook09

ASKER

While your answer wasn't explicit, yet some of the questions you asked, and the explanation of the Reference Priority helped me to figure out what the issue was for this problem.  Often times learning is best done through the Socratic method.

Ron