Wednesday, November 18, 2009 5:57 AMI've searched the Expression Web Help, and indeed the Web, for documentation on how to write macros. Apparently some folks know how, as I did find two postings with cryptic macro statements such as
WebDesigner.CommandBars.FindControl(id:=2619).ExecuteBut when I try to find anything about this, I come up empty handed. What am I missing?
Wednesday, November 18, 2009 9:02 AMI'm pretty sure macros are one of the features not yet in EW3. If that's the case they'll most likely be added back in with the service pack later this year. I could be wrong on that though...
Wednesday, November 18, 2009 12:25 PMAssuming you are using xWeb 1 or 2. Expression Web 3 doesn't support macros, nor will it.
There isn't a central repository of documentation for writing macros. The code you gave above is from the Office API for customizing the UI. You can find information on that here:
For the rest, I suppose you could use the VBA reference for FrontPage and make some minor modifications to account for Expression Web's object model. The differences are very minor.
Jimco Software and Books
Microsoft Expression Web 3 In Depth and many other books on Web design, ASP.NET, and the Amazon Kindle.
- Marked As Answer by Paul Bartholomew,Moderator Wednesday, November 18, 2009 3:34 PM
Wednesday, November 18, 2009 7:08 PMSee <http://schneegans.de/expression-web/vba/control-id/> for a list of control IDs.
Also take a look at <http://msdn.microsoft.com/en-us/library/aa218640(office.11).aspx>, which was written for FrontPage 2003, but is still a valuable resource.
Tuesday, February 02, 2010 10:13 AM"Expression Web 3 doesn't support macros, nor will it."
For this reason I'm not using EW3.