Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 193
Default Edit=Links dialog box-use code to display

I have a button that when pressed calls a subroutine. The sub unprotects two
worksheets, displays the Edit=Links dialog box, then the user changes the
existing link (an Excel file) to a new link (an Excel file) and updates.
Then, the macro protects the two worksheets again and exits.

What is the code to show the Edit=Links dialog box? I am using the
following code to display the dialog box. I can get it to work with many
other dialog boxes, but the Edit=Links won't work.

Application.Dialogs(xlDialogPrint).Show

Thanks,

Robert

--
Robert Engle
Brinker International, Inc.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Edit=Links dialog box-use code to display

Application.Dialogs(xlDialogOpenLinks).Show

Robert wrote:

I have a button that when pressed calls a subroutine. The sub unprotects two
worksheets, displays the Edit=Links dialog box, then the user changes the
existing link (an Excel file) to a new link (an Excel file) and updates.
Then, the macro protects the two worksheets again and exits.

What is the code to show the Edit=Links dialog box? I am using the
following code to display the dialog box. I can get it to work with many
other dialog boxes, but the Edit=Links won't work.

Application.Dialogs(xlDialogPrint).Show

Thanks,

Robert

--
Robert Engle
Brinker International, Inc.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 193
Default Edit=Links dialog box-use code to display

Perfect. Thanks!
--
Robert Engle
Brinker International, Inc.



"Dave Peterson" wrote:

Application.Dialogs(xlDialogOpenLinks).Show

Robert wrote:

I have a button that when pressed calls a subroutine. The sub unprotects two
worksheets, displays the Edit=Links dialog box, then the user changes the
existing link (an Excel file) to a new link (an Excel file) and updates.
Then, the macro protects the two worksheets again and exits.

What is the code to show the Edit=Links dialog box? I am using the
following code to display the dialog box. I can get it to work with many
other dialog boxes, but the Edit=Links won't work.

Application.Dialogs(xlDialogPrint).Show

Thanks,

Robert

--
Robert Engle
Brinker International, Inc.


--

Dave Peterson

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
Edit Links Dialog Box too long to view contents Judy S. Links and Linking in Excel 1 September 23rd 08 08:16 AM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
Hardcode Links - edit my code please? Steph[_6_] Excel Programming 1 October 26th 05 04:14 PM
display edit | fill series dialog box Perry Kew Excel Programming 3 July 6th 04 03:45 PM
Code to display dialog for unhiding sheets ken Excel Programming 0 July 11th 03 10:17 AM


All times are GMT +1. The time now is 03:40 PM.

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"