Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Running Excel 2007 in Server 2008

Posted on 2011-02-16
8
Medium Priority
?
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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
 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

636 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