Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Worksheet Picture on desktop using VBA??


Hi all,

I'm trying to use an AutoShape button on a worksheet to select a rang
on the sheet and then save it as a picture on the desktop so it can b
mailed in future, i have some snippets of code but have no idea how t
put them together. Ideally i would like the picture to go in to a fil
on the desktop lets say "orders" if the file doesnt exist create it, i
it does then copy the picture in to it, each picture should be named b
using firstly the text in cell merged cell B/C6 then the number i
merged cell B/C4, so that the next time the order form is changed i
will have new text and number the user can then click the autoshape an
it will save the picture as the new text and number.

Here's what i have.....
[this is the Autoshape macro to copy the picture]
ActiveSheet.Shapes("Picture 30").Select
Range("A1:G24").Select
Selection.CopyPicture Appearance:=xlScreen, Format:=xlPicture



Worksheets("order form").SaveAs Filename:="C:\windows\desktop\orders\
&
Range("B4").Value & Range("B6").Value &".xls"


Hope you can help
Simo

--
Simon Lloy
-----------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670
View this thread: http://www.excelforum.com/showthread.php?threadid=52850

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Saving Worksheet Picture on desktop using VBA??


Sorry for the repost!, i am still struggling with this, the worksheet
doesn't need to be saved as a picture it could be saved as a word
document, it's just they all need to go in to a folder on the desktop
of the user and in a format that shows the information (order form) but
cannot be changed!

any ideas?

regards,

Simon


--
Simon Lloyd
------------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...fo&userid=6708
View this thread: http://www.excelforum.com/showthread...hreadid=528500

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
VB editor not saving desktop [email protected] Excel Programming 0 July 25th 05 06:29 AM
Saving to the desktop w/ VBA Greg Little Excel Programming 1 December 14th 04 09:07 AM
Saving a workbook into the desktop Bob Excel Programming 2 April 17th 04 02:45 AM
Desktop Saving in VB BOHICA Excel Programming 1 February 18th 04 01:26 AM
VBA code for: Saving to desktop? jasonsweeney[_37_] Excel Programming 2 February 3rd 04 12:17 PM


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