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: 1
Default how to diaplay compare merge dialog box

Hello,

I had hooked "Compare Merge workbook" button in Addin When button pressed
event occurs and control get pass to following function.


Private Shared Sub cmdComparMerge_Click(ByVal Ctrl As
Microsoft.Office.Core.CommandBarButton, ByRef CancelDefault As Boolean)
Handles cmdComparMerge.Click
Try
CancelDefault = True


Application.Dialogs(XlBuiltInDialog.xlDialogScenar ioMerge).Show(Arg1:=Application.ActiveWorkbook)
Catch ex as Exception
MessageBox.Show(ex.Message)
End Try
End Sub

but I am not able to display the Merge dialog box. Instead exception get
thrown as "Show method of Dialogs class Failed".

Could anybody tell me how to display a Compare Merge dialog box?

I am able to do this in Word addin. This is needed because I wanted to know
which document is going to be compared and does not allow user to compare
certain documents.

thanks,
Priyanka Choudhari.

 
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
Compare and merge worksheets jem_01354 Excel Discussion (Misc queries) 2 May 1st 09 10:31 PM
Compare and merge Martin Stephenson Excel Worksheet Functions 0 May 26th 06 07:47 PM
Compare and Merge Kim Excel Discussion (Misc queries) 0 April 11th 06 06:50 PM
compare and merge worksheets Bonser Excel Discussion (Misc queries) 1 July 11th 05 08:34 PM
compare and merge workbooks Lost in Excel Excel Worksheet Functions 1 November 23rd 04 01:43 PM


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