Solved

Running Excel 2007 in Server 2008

Posted on 2011-02-16
8
232 Views
Last Modified: 2012-05-11
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?
0
Comment
Question by:Cook09
  • 5
  • 3
8 Comments
 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34921511
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)
0
 

Author Comment

by:Cook09
ID: 34921610
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
0
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 500 total points
ID: 34921834
If you do not fully qualify a function or Object, for example, that appears in two object libraries, then the order of the references does matter. Say you have a reference to Word set in Excel, there are Range objects in both libraries, so it is better to specify Word.Range rather than Excel.Range for example.
0
 

Author Comment

by:Cook09
ID: 34921898
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
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 85

Expert Comment

by:Rory Archibald
ID: 34921924
I have no idea what you mean by the Hidden colour?
0
 

Author Comment

by:Cook09
ID: 34921983
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
0
 

Author Comment

by:Cook09
ID: 34922070
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
0
 

Author Closing Comment

by:Cook09
ID: 34926670
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
0

Featured Post

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Suggested Solutions

Introduction: Sometimes when I receive a call from my users to solve their problems it is very difficult for me to found their computer IP address. Even finding their computer Host to provide remote support can be a problem.  So I resorted to Goo…
I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now