[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.5

Excel Macro to not save to Excel when creating PDFs

Asked by flickimp1717 in Microsoft Excel Spreadsheet Software

Tags: Excel, MAcro, PDF, Save, Automate

Hi

I have a workbook that is in excess of 25MB

The below Macro susccessfully runs through a loop of 151 codes, and creates 151 Excel files and then PDFs them...... and it works well..

Except the part when it saves as Excel....it takes forever....and that is due to the excel fiel size.

What I want is to modify the process.

Currently it does:

* First Loop
* Formalas calculate....
* Saves as New Filename in Excel
* Converts to PDF using the new filename
* Next Loop....thus next new filename....etc

I want to remove the step where it saves as an excel file, but i do want it to use the latest filename when it converts to PDF.

How?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
Sub PDFer()
 
'Macro created by Imran Siddiq
 
Application.DisplayAlerts = False
Application.ScreenUpdating = False
For I = 1 To 151
Sheets("Title").Select
Range("G10").Value = Range("E" & 1 + I).Value
 
Sheets(Array("Title", "EM", "EL", "DC", "OP_1ST", "OP_FU", "FIRST_TO_FOLLOWUP_RATIO", "CASSIUS_AE", "UHL_AE")).Select
Sheets("TITLE").Activate
Sheets(Array("Title", "EM", "EL", "DC", "OP_1ST", "OP_FU", "FIRST_TO_FOLLOWUP_RATIO", "CASSIUS_AE", "UHL_AE")).Copy
 
ThisFile = Range("G1").Value
ActiveWorkbook.SaveAs Filename:=ThisFile
 
ActiveWorkbook.PrintOut copies:=1, ActivePrinter:= _
"doPDF v6:", Collate:=True
 
Dim sht As Worksheet
ActiveWorkbook.Close
 
Next I
 
Application.DisplayAlerts = True
Application.ScreenUpdating = True
 
MsgBox ("Job Done")
 
End Sub
[+][-]07/04/09 08:43 AM, ID: 24777170Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: Excel, MAcro, PDF, Save, Automate
Sign Up Now!
Solution Provided By: Cbrine
Participating Experts: 1
Solution Grade: A
 
[+][-]07/03/09 09:35 AM, ID: 24773353Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 10:02 AM, ID: 24773477Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 10:06 AM, ID: 24773497Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 11:07 AM, ID: 24773733Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 11:26 AM, ID: 24773813Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 11:26 AM, ID: 24773816Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 11:27 AM, ID: 24773821Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 11:29 AM, ID: 24773829Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 11:46 AM, ID: 24773889Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 11:47 AM, ID: 24773892Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 11:54 AM, ID: 24773928Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 12:03 PM, ID: 24773962Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/03/09 12:30 PM, ID: 24774065Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 12:34 PM, ID: 24774076Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07/03/09 01:01 PM, ID: 24774161Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/05/09 06:55 AM, ID: 24780023Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07/05/09 08:33 AM, ID: 24780285Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625