Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
KK KK is offline
external usenet poster
 
Posts: 61
Default About the Macros in Excel 2007


Hi All ,

My company just upgrade our microsoft office 2003 to microsoft office 2007 ,
but after that , i used the macro which i write in excel 2003 was doesn't
work , the message "Run time error "3706" ,Provider cannot be found, It may
not be probelly installed ." was display.

When i debug , it was stop there

//open the connection to the project file
Dim conData
Set conData = CreateObject("ADODB.Connection")

conData.ConnectionString =
"Provider=Microsoft.Project.OLEDB.11.0;PROJECT NAME=" & tbFile.Value
conData.ConnectionTimeout = 30
conData.Open //Stop here

Any suggestion ?

I am using Microsoft office 2007 , Microsoft Project 2007 ,Window XP service
pack 3.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default About the Macros in Excel 2007



Not sure about how you upgraded/migrated everything but you may need to
go into the ODBC configuration section of the Control Panel and redefine
the ODBC configuration for Microsoft Project.

A clue that this might be your problem is that the Office 2007 suite
(at the least the ones I work with) are in folders with "12", not "11"
as part of their names...

Good luck on this!


--
jamescox
------------------------------------------------------------------------
jamescox's Profile: http://www.thecodecage.com/forumz/member.php?userid=449
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=114427

Reply
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 Macros in 2007 JLara-MSN-WI Excel Discussion (Misc queries) 6 May 31st 09 03:12 PM
help with macros in Excel 2007 Jon Peltier Excel Discussion (Misc queries) 0 February 10th 09 01:54 AM
Excel 2007, I write macros in 2003 is 2007 similar for VBA? Pros andcons please Simon[_2_] Excel Programming 3 August 5th 08 03:48 PM
Excel 2007 macros - how to merge 5 macros together into one Sue Excel Discussion (Misc queries) 1 April 16th 08 08:36 PM
Macros in Excel 2007 Graham Excel Discussion (Misc queries) 8 April 6th 07 10:59 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"