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: 1
Default Changes with Excel 2003

Thanks for replying.

After trying to run the code, I first get a window saying: "Compile
error: Can't find project or library". Note that this worked fine in
the previous version of Excel (which I have at home, but cannot use at
work).

I must admit here that I am far from proficient in VB. I next hit the
Toggle to see which statement is failing, and this is what is
highlighted:

If UCase(TextBox1.Value) = "ADMIN" Then

within this group...

Public Sub OKButton_Click()
Dim NoGood As Boolean
NoGood = True
CheckUser.Hide
If UCase(TextBox1.Value) = "ADMIN" Then
Application.Goto Reference:="Logname"
ActiveCell.FormulaR1C1 = "ADMIN"
Application.Goto Reference:="ULFile1"
ActiveCell.FormulaR1C1 = "C:\FHC Simulation\FHC Admin File
2.xls"
Application.Goto Reference:="ULFile2"
ActiveCell.FormulaR1C1 = "C:\FHC Simulation\FHC Admin File
3.xls"
NoGood = False
End If

...all file locations have been verified, etc.

Does this help?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
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
Excel 2007 versus Excel 2003 & Excel 97-2003 fully compatible Bumpersnesty Excel Worksheet Functions 0 April 26th 10 09:44 PM
importing/linking data from an Access 2003 Query to an Excel 2003 PerryK Excel Discussion (Misc queries) 2 August 24th 09 07:06 PM
import Excel 2003 file into Outlook 2003 - NO NAMED RANGES?? lewisma9 Excel Discussion (Misc queries) 0 February 27th 07 12:23 AM
Copying Excel 2003 Selection into Outlook 2003 HTML E-Mail Message [email protected] Excel Discussion (Misc queries) 0 July 10th 06 03:07 PM
Excel 2003 Database Driver Visual FoxPro 7 on Server 2003. Cindy Winegarden Excel Discussion (Misc queries) 0 November 28th 04 12:07 AM


All times are GMT +1. The time now is 08:03 PM.

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"