Hi. I'm fairly new to scripts and macros in excel and I have a small problem I can't seem to find a fix for.
I have hundreds of files that need to be imported to excel with an add-in. The add-in I'm using is TDM Excel Add-In.
The Add-In automatically detects the file extension in windows and I can directly double-click the file in windows to open it via the add-in.
I need to save these imported files as a specific name that is written in a specific row and column (A2).
This is the macro-script I'm using:
Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer![]()
Private Sub Speichern_Click() With Application.FileDialog(msoFileDialogSaveAs) .Title = "Datei speichern" .InitialFileName = Range("A2") .ButtonName = "Jetzt speichern" .Show .Execute End With End Sub
It's working fine in other excel-files, but eventhough I've saved this macro within the Personal.xlsm file, so it is globally available, I don't see it in the development tab (nor can I use the shortcut).
I think this is happening, because my file-format (from the imported data) isn't .xlsx yet.
Is there a workaround to make the macro accessable?
My final goal is to have an .exe-file that I can drop inside of the folder with all my data files and upon execution it automatically imports all the data and saves it as an .xlsx file with the specific name. But I think I need Microsoft Visual Studio for that.
Anyway.. I'd really appreciate any kind of help or feedback to my problem. I couldn't find this specific case when using google.
Greetings from Germany!
Bookmarks