LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.word.vba.general,microsoft.public.excel.programming
external usenet poster
 
Posts: 120
Default 2nd TRY: Up from 2003 to 2007; code now throws error creatingobject??

Sorry, Jim. Yes, Excel is visible and the file is open.

| Everything worked great until Monday, which was when we came in to
| work and found Office 2007 on our computers. Now the person who
uses
| this particular routine gets an error every time the code access
the
| Excel file. The code will actually open the file, but will not set
an
| object to the open file. It works great on my machine, but not on
| his.

| For any instance, the code will execute the Workbooks.Open command,
| and the file will open in Excel. But it throws the error in trying
to
| set an object to the workbook that just got opened! And only on
his
| machine!

Ed


On May 21, 10:08*am, "Jim Rech" wrote:
You didn't answer my question re is the workbook visible in Excel before the
Set.

If the user can run Excel there is not likely any corruption.

--
Jim



 
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
VBA code executes fine, but compiler throws error. Huh? [email protected] Excel Programming 2 January 19th 08 07:48 AM
VBS Script and ClearContents -- Code Throws An Error garibaldi Excel Programming 4 November 15th 07 03:45 AM
Find Throws Error 91 Dave Birley Excel Programming 13 May 17th 07 07:01 PM
Excel 2000 - Excel 2003 now throws 'runtime error' Ralph L Excel Programming 3 April 10th 06 05:20 AM
[Q] Save As throws type mismatch error in control's code? Jason Weiss Excel Discussion (Misc queries) 1 July 16th 05 04:21 AM


All times are GMT +1. The time now is 02:23 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"