T
Tivo'ed
I'm trying to save my title slide as a jpg from my macros that generate
the complete slide deck. I've gone through the motions, and recorded
the macro, and it's very simple, yet when I put it into my application,
instead of creating the file, it creates another subdirectory, and then
puts the jpg into it with a different name
Here's the code....
save_title_as_jpg = next_level + ".jpg"
ActivePresentation.SaveAs FileName:=save_title_as_jpg, FileFormat:=ppSaveAsJPG,
EmbedTrueTypeFonts:=msoFalse
If next_level contains 1953, I'm hoping it will create \1953.jpg.
Instead, it creates \1953\slide0.jpg
At this point in the code, there is only one slide, but it appears like it's getting
ready to save the whole slide deck as jpg's. I only need one, and the Save As...
command has that as an option. How do I select that in macros?
I've tried both fully qualifying the filename ( ie D:\.........\1953.jpg ) and just
the filename ( ie 1953.jpg ).
Thanks in advance for your help.
rod
the complete slide deck. I've gone through the motions, and recorded
the macro, and it's very simple, yet when I put it into my application,
instead of creating the file, it creates another subdirectory, and then
puts the jpg into it with a different name
Here's the code....
save_title_as_jpg = next_level + ".jpg"
ActivePresentation.SaveAs FileName:=save_title_as_jpg, FileFormat:=ppSaveAsJPG,
EmbedTrueTypeFonts:=msoFalse
If next_level contains 1953, I'm hoping it will create \1953.jpg.
Instead, it creates \1953\slide0.jpg
At this point in the code, there is only one slide, but it appears like it's getting
ready to save the whole slide deck as jpg's. I only need one, and the Save As...
command has that as an option. How do I select that in macros?
I've tried both fully qualifying the filename ( ie D:\.........\1953.jpg ) and just
the filename ( ie 1953.jpg ).
Thanks in advance for your help.
rod