Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Pasting from the clipboard to the address box of inserthyperlink dialog window in vba

after

Application.Dialogs(xlDialogInsertHyperlink).Show

what would be the next line of code to paste the contents of the clip
board into the Address field?

Jay
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pasting from the clipboard to the address box of inserthyperlink dialog window in vba

Application.Dialogs(xlDialogInsertHyperlink).Show

is equivalent to doing it with the menu, so You would probably need to use
sendkeys before that command. Code wouldn't run while it is displayed.


--
Regards,
Tom Ogilvy


"Jay Fincannon" wrote in message
...
after

Application.Dialogs(xlDialogInsertHyperlink).Show

what would be the next line of code to paste the contents of the clip
board into the Address field?

Jay



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pasting from the clipboard to the address box of inserthyperlink dialog window in vba

My answer assumes you don't want to use the add method of the hyperlinks
object for some reason. (you have no access to what is in the clipboard
might be a reason and your unwilling to execute a paste to collect the
information).

--
Regards,
Tom Ogilvy

"Jay Fincannon" wrote in message
...
after

Application.Dialogs(xlDialogInsertHyperlink).Show

what would be the next line of code to paste the contents of the clip
board into the Address field?

Jay



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Pasting from the clipboard to the address box of inserthyperlink dialog window in vba

thank you Tom, here's is what i'm up to.
i'm going thru route books and establishing links to google maps for
each street. is there a better way to do this.




On Mon, 4 Sep 2006 21:28:17 -0400, "Tom Ogilvy"
wrote:

My answer assumes you don't want to use the add method of the hyperlinks
object for some reason. (you have no access to what is in the clipboard
might be a reason and your unwilling to execute a paste to collect the
information).

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
How can I turn off the clipboard icon when cut and pasting? Caroilin Setting up and Configuration of Excel 1 September 21st 06 05:40 PM
Pop-up clipboard window jmac2074 Excel Discussion (Misc queries) 1 February 22nd 05 09:56 PM
Pasting from Excel Clipboard with VBA Macro ExcelPeter218 Excel Programming 2 February 10th 05 02:04 AM
Disable Clipboard Dialog Box during Macro Tom Excel Programming 0 August 15th 03 04:52 PM
Macro - Pasting clipboard in a find box Mike Tomasura Excel Programming 2 July 16th 03 04:23 PM


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