ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Sort several workbooks using code (https://www.excelbanter.com/excel-programming/437982-sort-several-workbooks-using-code.html)

Gotroots

Sort several workbooks using code
 
I am looking to run code that will sort several workbooks even when they are
closed. The code would be executed via a master workbook which will also be
sorted.
Is this possible?



Spreadsheet Solutions

Sort several workbooks using code
 
I'm not aware of sorting records in a CLOSED workbook, but what you can do
is this.

Create some button on the master workbook and let it open the other
workbook, sort the other workbook and close the other workbook.
Accompanied with Application.ScreenUpdating (but also depending on the
amount of records) you will hardly notice the sorting actions.

Does this help ?


--
Regards;
Mark Rosenkrantz
--
Spreadsheet Solutions
Uithoorn
Netherlands
--
E:
W:
www.spreadsheetsolutions.nl

--
"gotroots" wrote in message
...
I am looking to run code that will sort several workbooks even when they
are
closed. The code would be executed via a master workbook which will also
be
sorted.
Is this possible?




Gotroots

Sort several workbooks using code
 
Your suggestion is a help for sure, might be the solution for this task.

Thank you
Gotroots

"Spreadsheet Solutions" wrote:

I'm not aware of sorting records in a CLOSED workbook, but what you can do
is this.

Create some button on the master workbook and let it open the other
workbook, sort the other workbook and close the other workbook.
Accompanied with Application.ScreenUpdating (but also depending on the
amount of records) you will hardly notice the sorting actions.

Does this help ?


--
Regards;
Mark Rosenkrantz
--
Spreadsheet Solutions
Uithoorn
Netherlands
--
E:
W:
www.spreadsheetsolutions.nl

--
"gotroots" wrote in message
...
I am looking to run code that will sort several workbooks even when they
are
closed. The code would be executed via a master workbook which will also
be
sorted.
Is this possible?



.



All times are GMT +1. The time now is 02:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com