Advertisement

10.09.2008 at 12:55PM PDT, ID: 23802254 | Points: 500
[x]
Attachment Details

Need help cleaning up some vba in an excel file

Asked by dealstrike in Microsoft Excel Spreadsheet Software, VB Script

Tags: , ,

I have an excel file that currently does a few things when the specialorder macro is run...
It sorts by 9s and 13s and then saves the file with a new name plus that days date in a particular location (there is a specialorder button on the main sheet that needs to be pressed for this to happen).

When you first open the file you will see a Clspcontrol error or something pop up, that is because it is not connected to the database that it needs to pull the information from (that is what the GO button is for, when you press it it updates the values in the sheet)

Then you press the special order to run the way I would like it

What I need it to do is this...upon opening the sheet it runs the GO part automatically, waits 75 seconds, then runs the special order macro and then closes the files.

The macro does sort of do this now but it has a few issues, so you may need to do a ctrl+break to stop it from running otherwise the file close automaticallyanother problem I am having is that when when the new file that was saved is open...it runs the macro automatically again!)

Password to VBA is DBG or DGB
Please also remove the whassup part, hah, I was messing around with something

Thanks in advance for all the help I know I will get


Start Free Trial
[+][-]10.09.2008 at 12:56PM PDT, ID: 22681843

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:05PM PDT, ID: 22682867

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:23PM PDT, ID: 22682997

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:31PM PDT, ID: 22683050

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:31PM PDT, ID: 22683056

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:45PM PDT, ID: 22683145

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2008 at 03:55PM PDT, ID: 22683202

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.10.2008 at 01:09AM PDT, ID: 22685038

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.10.2008 at 04:10AM PDT, ID: 22685773

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.29.2008 at 07:51AM PDT, ID: 22831723

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.30.2008 at 12:07AM PST, ID: 23062370

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

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

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628