LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 533
Default How to employ ExecuteMso Sub in Excel 2007?

Since ExecuteMso does not work with gallery controls (apparently) the only
other option I can think of is sendkeys:

Sub aa()
SendKeys "%H"
SendKeys "J"
End Sub


--
Jim
"JeffreyW" wrote in message
...
| As I found out in an earlier post at:
|
|
http://msdn.microsoft.com/newsgroups...=en-us&m=1&p=1
|
| ... the Application.CommandBars.ExecuteMso method apparently does not
work
| with a Gallery Control in Excel 2007.
|
| I subsequently came across this info at:
|
| http://msdn2.microsoft.com/en-us/library/aa722523.aspx
|
| "The Application.CommandBars class provides the following methods for
| interacting with Fluent UI controls.
|
| Table 1. Methods for the Application.CommandBars class
| Method | Description:
|
| Sub ExecuteMso(idMso As String) | Executes the command that is specified
in
| idMso."
|
| I seem to have problems getting this to work with a Gallery control as
well
| - maybe because of the same issue as above or maybe because I am messing
| something up. Can anyone suggest how I might successfully use this method
to
| call a Gallery Control like "CellStylesGallery" (which is a correct
idMSO)?
|
| Thanks for any insights.
|
| Jeff


 
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
2009 Template for Attendance: How do I add multiple tabs of employ Ashleysquared Excel Worksheet Functions 1 January 23rd 09 08:18 AM
Excel 2007 files not showing on screen when opened in Excel 2007 [email protected] Setting up and Configuration of Excel 1 January 8th 09 05:45 PM
Making Application.CommandBars.ExecuteMso method work in 2007 JeffreyW Excel Programming 7 December 11th 07 09:01 PM
Create a graph that compares start and finish times between employ Graham Moore Charts and Charting in Excel 1 October 23rd 07 08:41 AM
Do you want to employ an EXCEL VBA program that you developed [email protected] Excel Discussion (Misc queries) 0 April 8th 07 09:39 AM


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