Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default .Execute replaced in Excel 2007?

I have a macro which does a data backup from hard drive to disk. It works
fine on my old computer which has Excel 2003 but not on my new one with Excel
2007. I get an error implying that .execute is not a valid term.

Is there a substitute for .execute that I have not discovered yet?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default .Execute replaced in Excel 2007?

..Execute is for commandbars object. New way for ribbon. example-

CommandBars.ExecuteMso "FileNew"


"Jim Jackson" <Jim wrote in message
...
|I have a macro which does a data backup from hard drive to disk. It works
| fine on my old computer which has Excel 2003 but not on my new one with
Excel
| 2007. I get an error implying that .execute is not a valid term.
|
| Is there a substitute for .execute that I have not discovered yet?

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 2007 link is invalid after referenced book is replaced Chuck Links and Linking in Excel 2 February 24th 10 07:44 AM
Excel 2007 won't execute 2003 VBA code Lee Excel Programming 4 June 17th 09 09:46 AM
MROUND replaced with #N/A in Excel 2007 Steve McDonald Excel Worksheet Functions 2 October 9th 08 01:35 PM
How can I execute Shape drawing Excel 2007? jabbott Excel Programming 0 June 27th 08 07:55 PM
Formula replaced with =#N/A in 2007 - why? Alan Smith Excel Discussion (Misc queries) 8 January 23rd 08 01:56 PM


All times are GMT +1. The time now is 03:20 AM.

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"