Vous êtes sur la page 1sur 10

User Name

Password

Forgotten Your Password?

Log in

Help

Register

Remember Me?

Forum

What's New?

Today's
Posts Services
FAQ Calendar
Commercial

Forum

Members List
Community

Calendar

Forum Actions

Forum Rules

Winner Board
Advanced Search

Quick Links

Microsoft Office Application Help - Excel Help forum

Excel General

[SOLVED] How to extract a picture from an Excel worksheet into a picture fi

To get replies by our experts at nominal charges, follow this link to buy points and post your thread in our Commercial
Services forum! Here is the FAQ for this forum.
Results 1 to 12 of 12

Closed Thread
How to extract a picture from an Excel worksheet into a picture fi
LinkBack

Thread Tools

Display

#1

06-10-2005, 01:05 PM

SARANJAI
Guest

How to extract a picture from an Excel worksheet into a


picture fi
Tried to extract a
picture from an Excel
worksheet and save it
as a *.jpg /
*.gif / *.bmp file don't know how to do.
Anyone knows how to
do that? Same
goes for Word.

Register To Reply

#2

06-10-2005, 01:05 PM

Don Guillett
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi

try this.
Sub ExportChartJPG()
ActiveChart.Export

Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
-Don Guillett
SalesAid Software
donaldb@281.com
"SARANJAI" <SARANJAI@discussions.microsoft.com> wrote in
message
news:A449B1D7-3F17-4D10-8E1E-D44FB714F76E@microsoft.com...
> Tried to extract a picture from an Excel worksheet and save it as
a *.jpg
/
> *.gif / *.bmp file - don't know how to do. Anyone knows how to
do that?
Same
> goes for Word.

Register To Reply

#3

06-10-2005, 02:05 PM

SARANJAI
Guest

Re: How to extract a picture from an Excel worksheet into a


pictur
Thanks for your advice. But honestly, I don't know what you
mean...:-(
"Don Guillett" wrote:
>
>
>
>
>
>
>
>
>
>

try this.
Sub ExportChartJPG()
ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
FilterName:="jpeg"
End Sub
-Don Guillett
SalesAid Software

> donaldb@281.com
> "SARANJAI" <SARANJAI@discussions.microsoft.com> wrote in
message
> news:A449B1D7-3F17-4D10-8E1ED44FB714F76E@microsoft.com...
> > Tried to extract a picture from an Excel worksheet and save it
as a *.jpg
> /
> > *.gif / *.bmp file - don't know how to do. Anyone knows how
to do that?
> Same
> > goes for Word.
>
>
>
Register To Reply

#4

06-10-2005, 03:05 PM

Don Guillett
Guest

Re: How to extract a picture from an Excel worksheet into a


pictur
This is an excel macro. copy/paste into a regular excel macro
module>assign
to a button>change to suit the path desired>select the chart
desired and
execute the macro
-Don Guillett
SalesAid Software
donaldb@281.com
"SARANJAI" <SARANJAI@discussions.microsoft.com> wrote in
message
news:7ED4B49A-2F72-4E86-B6FB-37EE396A8DC2@microsoft.com...
> Thanks for your advice. But honestly, I don't know what you
mean...:-(
>
> "Don Guillett" wrote:
>
> > try this.
> > Sub ExportChartJPG()
> > ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
> > FilterName:="jpeg"
> > End Sub
> >
> >
> > -> > Don Guillett
> > SalesAid Software
> > donaldb@281.com
> > "SARANJAI" <SARANJAI@discussions.microsoft.com> wrote in
message
> > news:A449B1D7-3F17-4D10-8E1ED44FB714F76E@microsoft.com...
> > > Tried to extract a picture from an Excel worksheet and save
it as a
*.jpg
> > /

> > > *.gif / *.bmp file - don't know how to do. Anyone knows
how to do
that?
> > Same
> > > goes for Word.
> >
> >
> >

Register To Reply

#5

06-10-2005, 05:05 PM

Michael
Guest

Re: How to extract a picture from an Excel worksheet into a


pictur

Hi Don. When I tried your macro I got the following error :


Run-Time error '91':
Object variable or With block variable not set.
I'm afraid I don't have clue what that means, being VBA illiterate.
Oh, by the way, thanks for all your help in the many other posts.
-Sincerely, Michael Colvin
"Don Guillett" wrote:
> This is an excel macro. copy/paste into a regular excel macro
module>assign
> to a button>change to suit the path desired>select the chart
desired and
> execute the macro
>
> -> Don Guillett
> SalesAid Software
> donaldb@281.com
> "SARANJAI" <SARANJAI@discussions.microsoft.com> wrote in
message
> news:7ED4B49A-2F72-4E86-B6FB37EE396A8DC2@microsoft.com...
> > Thanks for your advice. But honestly, I don't know what you

mean...:-(
> >
> > "Don Guillett" wrote:
> >
> > > try this.
> > > Sub ExportChartJPG()
> > > ActiveChart.Export Filename:="C:\a\MyChart.jpg", _
> > > FilterName:="jpeg"
> > > End Sub
> > >
> > >
> > > -> > > Don Guillett
> > > SalesAid Software
> > > donaldb@281.com
> > > "SARANJAI" <SARANJAI@discussions.microsoft.com> wrote
in message
> > > news:A449B1D7-3F17-4D10-8E1ED44FB714F76E@microsoft.com...
> > > > Tried to extract a picture from an Excel worksheet and
save it as a
> *.jpg
> > > /
> > > > *.gif / *.bmp file - don't know how to do. Anyone knows
how to do
> that?
> > > Same
> > > > goes for Word.
> > >
> > >
> > >
>
>
>
Register To Reply

#6

06-10-2005, 09:05 PM

Dave Peterson
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
How about just selecting it, copying it, and pasting it into a
different program
(Paint??) and saving from there?
If you're version of excel can save a file as "Web Page
(*.htm;*.html)" (under
the "save as type" box on the File|SaveAs dialog), then when you
save it, you'll
get a new folder with all the pictures under the folder with the file.
That new folder will be named like filename_Files.
If I recall correctly, this was added with xl2002.

SARANJAI wrote:
>

> Tried to extract a picture from an Excel worksheet and save it as


a *.jpg /
> *.gif / *.bmp file - don't know how to do. Anyone knows how to
do that? Same
> goes for Word.
-Dave Peterson
Register To Reply

#7

06-11-2005, 04:05 AM

JustinLabenne
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
Since your first post did not specify whether you are exporting a
chart
or a picture within excel:
Try Andy Pope's add-in for exporting Pictures:
http://www.andypope.info/vba/gex.htm
or Aaron Bloods Chart to Picture exporter
http://www.xl-logic.com/pages/addins.html
These are both add-ins so you just have to load them to use. No
vba on
your part if that is outside your comfort level.
Dave Peterson Wrote:
> How about just selecting it, copying it, and pasting it into a
different
> program
> (Paint??) and saving from there?
>
> If you're version of excel can save a file as "Web Page
(*.htm;*.html)"
> (under
> the "save as type" box on the File|SaveAs dialog), then when you
save
> it, you'll
> get a new folder with all the pictures under the folder with the
file.
>
> That new folder will be named like filename_Files.
>
> If I recall correctly, this was added with xl2002.
>
>
>
> SARANJAI wrote:>
> Tried to extract a picture from an Excel worksheet and save it as

a
> *.jpg /
> *.gif / *.bmp file - don't know how to do. Anyone knows how to
do
> that? Same
> goes for Word.>
> ->
> Dave Peterson
-JustinLabenne
Register To Reply

#8

06-11-2005, 10:05 AM

Dave Peterson
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
My first post????
< vbg>
JustinLabenne wrote:
>
> Since your first post did not specify whether you are exporting a
chart
> or a picture within excel:
>
<< snipped>>
Register To Reply

#9

06-11-2005, 10:05 PM

JustinLabenne
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
Sorry Dave, not yours, I dont even pay much attention to the
qoutes at
the bottom so I did not realize it would be construed that way. My
apologies, gotta get used to this forum design, it's a bit different
than others that I post on.
Dave Peterson Wrote:
>
>
> Tried to extract a picture from an Excel worksheet and save it as
a
> *.jpg /
> *.gif / *.bmp file - don't know how to do. Anyone knows how to
do that?
> Same
> goes for Word.

>
-JustinLabenne
Register To Reply

#10

06-11-2005, 10:05 PM

JustinLabenne
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
Sorry Dave, not yours, I dont even pay much attention to the
qoutes at
the bottom so I did not realize it would be construed that way. My
apologies, gotta get used to this forum design, it's a bit different
than others that I post on.
SARANJAI Wrote:
>
>
> Tried to extract a picture from an Excel worksheet and save it as
a
> *.jpg /
> *.gif / *.bmp file - don't know how to do. Anyone knows how to
do that?
> Same
> goes for Word.
>
-JustinLabenne
Register To Reply

#11

06-12-2005, 12:05 AM

Dave Peterson
Guest

Re: How to extract a picture from an Excel worksheet into a


picture fi
No problem. I was just pulling your chain a bit!
JustinLabenne wrote:
>
> Sorry Dave, not yours, I dont even pay much attention to the
qoutes at
> the bottom so I did not realize it would be construed that way.
My
> apologies, gotta get used to this forum design, it's a bit different
> than others that I post on.
>
> SARANJAI Wrote:
> >
> >
> > Tried to extract a picture from an Excel worksheet and save it

as a
> > *.jpg /
> > *.gif / *.bmp file - don't know how to do. Anyone knows how
to do that?
> > Same
> > goes for Word.
> >
>
> -> JustinLabenne
-Dave Peterson
Register To Reply

#12

06-12-2005, 01:05 AM

SARANJAI
Guest

Re: How to extract a picture from an Excel worksheet into a


pictur
Hi Dave,
Thanks a lot for your advice. It worked well! Actually, it is soo
simple
that I should have had this idea by myself. Guess, I couldn't see
the forest
due to so many trees...:-) Cheers!
"Dave Peterson" wrote:
> How about just selecting it, copying it, and pasting it into a
different program
> (Paint??) and saving from there?
>
> If you're version of excel can save a file as "Web Page
(*.htm;*.html)" (under
> the "save as type" box on the File|SaveAs dialog), then when you
save it, you'll
> get a new folder with all the pictures under the folder with the
file.
>
> That new folder will be named like filename_Files.
>
> If I recall correctly, this was added with xl2002.
>
>
>
> SARANJAI wrote:
> >
> > Tried to extract a picture from an Excel worksheet and save it
as a *.jpg /
> > *.gif / *.bmp file - don't know how to do. Anyone knows how
to do that? Same
> > goes for Word.
>
> ->
> Dave Peterson
>

Register To Reply

Closed Thread
Previous Thread | Next Thread
Thread Information

There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks

Posting Permissions

Digg
del.icio.us
StumbleUpon
Google

You may not


threads
You may not
You may not
attachments
You may not

post new
post replies
post
edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On
Forum Rules

Contact Us ExcelTip.com Archive Top


All times are GMT -4. The time now is 10:34 PM.
Powered by vBulletin Version 4.1.8 Copyright 2012 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1

Vous aimerez peut-être aussi