Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to find the code to display the Paste Names dialog box. You can
usually get this to pop up with F3 when working in the standard user interface in Windows versions of Excel. I've tried the following code, which works just fine for some built in dialog boxes, but errors out for Paste names: Application.Dialogs(xlDialogPasteNames).Show This statement results in the RunTime 1004 message. If I change this to application.Dialogs(xlDialogDefineName).Show the Define names dialog box pops right up. Any ideas? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What exactly are you trying to do with this? It may be able to be done
another way. Barb Reinhardt "Ted M H" wrote: I'm trying to find the code to display the Paste Names dialog box. You can usually get this to pop up with F3 when working in the standard user interface in Windows versions of Excel. I've tried the following code, which works just fine for some built in dialog boxes, but errors out for Paste names: Application.Dialogs(xlDialogPasteNames).Show This statement results in the RunTime 1004 message. If I change this to application.Dialogs(xlDialogDefineName).Show the Define names dialog box pops right up. Any ideas? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If it is any consolation, I can't get it to open either. Maybe it has been
scrapped by MS. I checked the web for any previous bug reports and did not see any. Haven't checked knowledge base yet. "Ted M H" wrote in message ... I'm trying to find the code to display the Paste Names dialog box. You can usually get this to pop up with F3 when working in the standard user interface in Windows versions of Excel. I've tried the following code, which works just fine for some built in dialog boxes, but errors out for Paste names: Application.Dialogs(xlDialogPasteNames).Show This statement results in the RunTime 1004 message. If I change this to application.Dialogs(xlDialogDefineName).Show the Define names dialog box pops right up. Any ideas? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for responding.
Actually, I need the equivalent of F3 for the Mac OS versions of Excel. It just takes too much time to do Insert Name paste from the menu compared to just doing F3 in the windows world. My thought was that I could just write a simple macro to pop up the dialog box and assign a short cut key to the macro. No such luck, so far. I know this is the windows forum, but I think if I can get a macro to work in windows I can then get it to work under the Mac OS versions. There just aren't enough users at the Mac forum to get answers to obscure questions like this one... "Barb Reinhardt" wrote: What exactly are you trying to do with this? It may be able to be done another way. Barb Reinhardt "Ted M H" wrote: I'm trying to find the code to display the Paste Names dialog box. You can usually get this to pop up with F3 when working in the standard user interface in Windows versions of Excel. I've tried the following code, which works just fine for some built in dialog boxes, but errors out for Paste names: Application.Dialogs(xlDialogPasteNames).Show This statement results in the RunTime 1004 message. If I change this to application.Dialogs(xlDialogDefineName).Show the Define names dialog box pops right up. Any ideas? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Show the Outline Dialog Box | Excel Discussion (Misc queries) | |||
List Worksheet Names in a Dialog | Excel Programming | |||
Group Names Change Upon Paste, Kills Code. | Excel Programming | |||
Group Names Change Upon Paste, Kills Code. | Excel Programming | |||
VBA code to show a save as dialog does not work | Excel Programming |