Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy a File to the Clipboard

Hello,

i like to copy a file programmatically to the clipboard.
I mean the programmatically procedure to copy a file (not the content)
as the same command inside MS-Explorer - right-click - copy.

Thanks all.

Balmi
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Copy a File to the Clipboard

See VBA help on "filecopy"

What do you want to do with the copied file BTW?


Gord Dibben MS Excel MVP

On Wed, 26 Aug 2009 12:56:37 -0700 (PDT), ansgar
wrote:

Hello,

i like to copy a file programmatically to the clipboard.
I mean the programmatically procedure to copy a file (not the content)
as the same command inside MS-Explorer - right-click - copy.

Thanks all.

Balmi


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy a File to the Clipboard

Hello Gord,

thanks for your answer, but filecopy only copies the file to another
location.

What I want to do:
My Makro saves a Chart as a Image-file to a temporary folder and now i
need to copy the created file into the clipboard.
The reason is, that the user now can insert directly the image over
CTRL+V into Word, Powerpoint, ... or into a another folderlocation as
a file.

Balmi


On Aug 26, 11:22*pm, Gord Dibben <gorddibbATshawDOTca
wrote:
See VBA help on "filecopy"

What do you want to do with the copied file BTW?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copy a File to the Clipboard

The solution: http://www.vb-hellfire.de/download/o...boardfiles.zip

many thanks to: Thorsten Dörfler (Microsoft MVP Visual Basic)


- Balmi



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
Copy a set bit of text to the clipboard? StargateFanNotAtHome[_2_] Excel Programming 3 August 10th 09 04:05 AM
copy to clipboard greg Excel Programming 2 September 19th 08 07:20 PM
How do I cut/copy paste without using the clipboard? Simon[_2_] Excel Programming 3 August 11th 08 11:37 AM
Transfer clipboard from Task pane clipboard(office?) content to Excel (windows?) clipboard? tskogstrom Excel Programming 2 March 6th 07 12:50 PM
Copy from clipboard? G Lam[_2_] Excel Programming 1 November 24th 04 09:05 AM


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