Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Refresh CRM data in Excel 2007 using VBA

Hi,

I want to refresh my CRM data in Excel 2007 using a VBA macro. The macro
recorder doesn't leave any trace.

In the older versions i used the following macro to trigger a menu item but
don't know how to do it in the new office 2007 layout:

Dim oBar As CommandBar
Dim oCtrl As CommandBarControl

Application.CutCopyMode = False
Set oBar = Application.CommandBars("Worksheet Menu Bar")
Set oCtrl = oBar.Controls("Hyperion").Controls(6).Controls(1)
oCtrl.Execute

Anyone a clue?
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 will not refresh cells DY New Users to Excel 1 May 27th 10 10:57 PM
Excel 2007 will not refresh cells Ms-Exl-Learner New Users to Excel 0 May 27th 10 09:52 PM
Excel 2007 Refresh multiple data connections & pass parameter to S SaveTheMonarchButterflies Excel Discussion (Misc queries) 1 November 11th 08 11:58 PM
Excel 2007 external data source extend table refresh garyn Excel Discussion (Misc queries) 0 October 10th 08 07:37 PM
XL 2007: Pivot Refresh slow when data resides in another workbook funnybroad Excel Discussion (Misc queries) 1 May 31st 07 07:31 AM


All times are GMT +1. The time now is 05:34 PM.

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"