Classification pop up issue when saving file

Dani_LobP

Board Regular
Joined
Aug 16, 2019
Messages
134
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I would like to get some help in how to automatically assign the classification as internal document.

At my company we use some classification tool in excel called Secure Islands Classification, and whenever create new file it pop ups asking to set the classification, usually being internal.

My problem here is that i have some files that have lots of tabs, around 30-40 and i made a macro that splits the file, into many files, one per tab.

So basically macro will go tab by tab, and creating a file with the name of the tab and so on...

But, as you can imagine, is not as efficient if every tab pops the classification message to select internal. and is what i want to add in the code, some line that automatically selects internal and keeps going without my intervention 40 times or so..

Hope someone understands what i mean and have some idea in how to do this. :)

thanks in advance.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
this is the code

VBA Code:
Sub SheetsToWorkbooks()
    Dim ws As Worksheet
    Application.ScreenUpdating = False
    For Each ws In ThisWorkbook.Worksheets
    ws.Copy
    ActiveWorkbook.SaveAs ThisWorkbook.Path & "\" & ws.Name
    ActiveWorkbook.Close SaveChanges:=True
    Next ws
    Application.ScreenUpdating = True
End Sub
 
Upvote 0
I think it might be because you are not saving a file extension.

Look here.


As far as i see, its saving by default as .xlsx so i was fine with that.
But problem is that every new file that is created need to be classified, so for each new workbook created by macro for each tab, i get pop up... security reasons i believe. doesnt matter the extension i add i think.
 
Upvote 0
Can you drop in a screenshot of the popup box you get, please?
Also, where are you saving the files to?

Also do you have a plugin in to handle the classification? I just spotted something on the web. Do you have this button on your toolbar?
1582820960211.png
 
Last edited:
Upvote 0
Upvote 0
Upvote 0
Can you drop in a screenshot of the popup box you get, please?
Also, where are you saving the files to?

Also do you have a plugin in to handle the classification? I just spotted something on the web. Do you have this button on your toolbar? View attachment 7761
i'm afraid I guess i can't share pic of pop up because of compliance/security reasons. But is just a pop up window requesting to choose 3 options of classification. if i don't choose any, it won't keep forward so file won't be saved. similar to titus i believe, but never used titus before so just guessing.

And i don't have that icon. i think its embded in excell in a way that is full time on. can't disable it.
 
Upvote 0
If you go to File-Options on the main Excel screen and look at your Add-ins. Is there anything there, which looks like it might be causing the pop-up box? Especially in the Document Related Add-ins.


What happens if you disable events before the saveas and re-enable after?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,198
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top