Answer the question
In order to leave comments, you need to log in
How to save a hidden excel sheet to a separate file?
You need to save one of the sheets of the book in csv format to a separate file. The macro should be triggered when the document is saved. The problem is that you need to save the hidden sheet.
If you use this solution:
With Worksheets("ИмяЛиста")
.Visible = -1 ' делаем лист видимым
.Copy ' копируем
.Visible = 0 ' делаем лист снова скрытым
End With
Answer the question
In order to leave comments, you need to log in
at the beginning of the macro
application.screenupdating = false
and at the end
application.screenupdating = true
This will help to hide the flicker and the user will not see the sheet.
Nothing breaks for you, just products are displayed immediately according to the two specified filters.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question