525 questions
-1
votes
1
answer
86
views
Store file in local C drive not in default Downloads folder
In the the image above, after I click the upload button, I want to store the file in my C drive. But by default it's saved in the Downloads folder. I need to store the file in a user defined folder ...
-1
votes
1
answer
101
views
Populate "Save As" dialogue with the file name and location after executing open "Save As" screen (F12 shortcut)
I am working on a VBA macro to open the Save As screen in Excel using an API call to F12 (the shortcut for the screen), and then populating the screen with the file name and location.
The screen opens ...
0
votes
1
answer
81
views
VBA/macro to Limit Save As File Options
I have been searching and searching for some codes that would do what I want, and I just can't seem to find the answer.
I am creating macro-enabled templates for office use on a network server.
Not ...
2
votes
4
answers
151
views
Application.FileDialog(msoFileDialogFolderPicker) is not working properly, does not give the correct path to the selected folder
I am trying to write a program that allows you to save a sheet in a workbook to a folder of your choosing.
The issue is that when you run the macro and select the folder you want to save the sheet too,...
1
vote
1
answer
73
views
Save to User's download file and update file without popup window asking to over-ride
Right now, the VBA Macro works great on 'my' PC be/c I have it saving as a specific file to my download folder.
I need this to work on anyone else's PC that runs this Macro and have the same function.
...
0
votes
3
answers
129
views
How to update a file path each week with different file names
I have two workbooks i use weekly. Workbook 1 is scheduling and other info. Workbook 2 is Pick ups. WB2 gets info from WB1 and then closes WB1. I like to see if there is a way to update a file ...
0
votes
0
answers
65
views
Save As Macro working on PC but results in error on MAC
I have an excel macro which I use to strip formulas / delete sheets from a workbook, then open a save as dialog box with the desired file name pre-populated - this works fine on PC but falls over on ...
1
vote
1
answer
4k
views
Cannot print whole notebook from Colab into PDF manually through Colab menus
Not long ago I could print a python notebook from Google Colab using File/Print/Save as PDF. Since about a week I noticed, that only the some part of the document (visible or around the actual cell) ...
1
vote
0
answers
89
views
Error Popping up when saving read only file as save as
I need to have a read only Word macro File that makes the user save it first as what ever they choose the name to be as long as it doesn't override the read only file. It also doesn't matter if the ...
0
votes
0
answers
60
views
Is there a VBA method for extracting the original server path of an Excel file when working from a local temp file
Im trying to SaveAs a file that is stored on a server in a different file format. The sub folders that the file is stored in on the server wont be consistent so I cant simply write the path in as a ...
1
vote
2
answers
75
views
Looping through cells in a column for file names to SaveAs
I am trying to do a loop to save a file with different names located in a column of cells.
The code saves. How to get it to continue going down to "E5"?
Private Sub Save_Click()
Dim ...
0
votes
1
answer
120
views
Save vector layer as excel in Qgis graphical moduler
I have made a model in QGIS graphical modeler builder that outputs multiple vector layers. Each vector layer has data i need in excel. I would like to put them all in preferably one excel file ( each ...
-1
votes
1
answer
52
views
Error, when trying to save file on harddrive
With the code below, objwkb.close works for me,
Set rs= currentDB. Openrecordset("dynamic_query", opensnapshot)
Set objxl = CreateObject("Excel.Application")
Set objwkb = objxl....
0
votes
1
answer
240
views
Create filename using the UserForm text box with VBA in Word
In Word 2007, I created a Macro-Enabled Template that uses Form Fields with various calculations/formulas. I am trying to automate the .SaveAs based on the input of a text box from a UserForm with a ...
0
votes
1
answer
49
views
Prompt user with "Save as" option when exporting Selection of cells as PDF
I want to prompt the user with the SaveAs dialog when exporting a specific Selection of cells as a PDF. I found the method .SaveAs but I struggle to understand how to use it for a specific range of ...
0
votes
1
answer
150
views
Excel VBA Open Word doc and Save as New Word Doc
I've created a macro in Excel to open a Word docx, swap out some content, and then I want to save as a new word docx as well as create a PDF. I have everything working except for the saving a new Word ...
1
vote
0
answers
522
views
Novel Editor (TipTap Editor) to Pdf Exporter
I am creating a project in which i want to export notes of people(people edit it using novel.sh editor) to a pdf.
I tried using a lot of pdf npm packages but nothing seemed to match my needs. What ...
1
vote
1
answer
125
views
How can I save results from a Stepmix LCA analysis to a dataframe or a ms excel file?
I have run a Latent Class Analysis using the Stepmix package.
'model.fit(dataframe)'
gives me a perfect output in the terminal. But I need to save it to a file, preferably an Excel file after ...
0
votes
2
answers
59
views
excel filename by vba script causes 2 filenames
I have a workbook with a script which save an excel document with the filename on 2 different locations. I have tested and tried the script and it worked perfectly. Today I used the same script for 3 ...
0
votes
1
answer
272
views
VBA - Microsoft Print to PDF - Set Save As Path Same As Workbook Location
So I have an Excel VBA Macro that helps me save the workbook as a PDF...it is called like this...
Application.ActivePrinter = FindPrinter("Microsoft Print to PDF")
It will successfully open ...
2
votes
2
answers
735
views
SwiftUI: How to use the fileExporter modifier for multiple file types
I am trying to use SwiftUI's the .fileExporter modifier with an item that confirms to the Transferable protocol for multiple types like this:
FileRepresentation(exportedContentType: .pdf) { (item: ...
1
vote
2
answers
897
views
Saving xlsm as xlsx with VBA no longer works due to new save prompt
we have a xlsm file that processes some data and finally saves the file as xlsx in a different folder.
earlier the save prompt when saving as non-macro workbook would have 3 options: "yes", &...
1
vote
0
answers
90
views
Can Visual Studio Code be configured to "Save as..." starting in the same folder where the currently open file already exists on a UNC path?
Observation / Issue
Expected and desired: With a file open from a folder on a drive letter C: D: etc whether mapped or local, the "Save As..." function will open the save dialog in the same ...
0
votes
1
answer
473
views
Where is the ‘Save as’ option in PyCharm on Mac?
Sorry if this is a very basic question. I’m learning Python and the task at hand is to try using the terminal to run a python script located on my desktop. I could only find tutorials on windows, ...
0
votes
1
answer
119
views
Using VBA, create one single PDF of all the worksheets combined except for two worksheets [duplicate]
I`m trying to save all the worksheets from the workbook as one single pdf (all sheets combined in one pdf) except for two worksheets that are not needed in the pdf which have the names of "Raw&...
-2
votes
1
answer
150
views
Download form data to local machine from memory [duplicate]
Is it possible to create a download form data to local machine without writing it to a file one the server?
I want to click export button on form and have "save as" file dialog popup, that ...
1
vote
1
answer
171
views
How do I solve docx format saving error in a python code?
I wrote code to highlight some keywords from a txt file and save the output in a docx file. The output is coming perfectly, however, when I tried to save the file, it showed some errors. The code is ...
0
votes
2
answers
619
views
Saving an excel file with a custom name each time I run the module
I’m trying to create a program that reads and analyzes an excel file(.xlsx), creates a summary table, then saves that table into a new .xlsx file.
I’d like to have an input prompt ask me - “Filename?” ...
0
votes
1
answer
427
views
How to more table with save_as_docx in one single .docx files
I have created the following list of files:
require(writexl)
write_xlsx(mtcars, 'PQ_ele_com.xlsx')
dir = c('com', 'set', 'rit')
init = c('PQ', 'MG')
inpst = c('_ele_', '_mel_', '_col_')
for (i in dir) ...
0
votes
1
answer
2k
views
User save progress to file in electron/react app
I'm creating an Electron app where the user creates and works on a "project." I'm trying to implement a "Save" button so the user can save their progress. I think there are two ...
0
votes
0
answers
759
views
Selenium + Python ActionChains or PyAutoGUI "Ctrl + S" doesnt work on a web-based PDF
I'm trying to write a program using Selenium which can continually loop through a webpage, click on dropdown menu links based on the town, month and year which opens up a web-based pdf. From there, I ...
0
votes
1
answer
226
views
Export multiple worksheets without formula with the ability to select exact sheets and location
I have an excel workbook where there is continuosly created new worksheets. Sometimes some of the worksheets needs to be archived and ideally removed from the workbook. The worksheets also needs to be ...
1
vote
0
answers
29
views
w32 save as function for csv files in shopping list. | GO
I am a GO beginner and need sone help.
I am trying to implement a save as w32 function in my shopping list project that i am doing in my school. Is this even possible?
When i choose the function in ...
0
votes
1
answer
2k
views
ActiveWorkbook.SaveAs code runs but fails to save the workbook
I run the code, it asks if I want to save the workbook to the location, I click yes, and then the code ends. I check the folder, the file isn't saved there. I am posting the relevant sections of code ...
0
votes
1
answer
689
views
How to open an embedded word document (OLE object) in XL, add data to this word document and save it on the desktop?
I am trying to save data coming from XL sheet1 to a word document (embedded in this XL file on sheet1) and save this document on my desktop. The word document is only 8 pages. I would like to save ...
0
votes
0
answers
435
views
Duplicate and modify local file (e.g. via File System Access API?)
Background: An XML file is to be loaded* into a web app. Various parameters are changed there. The file is then downloaded again. Depending on the browser settings, the modified XML file is either ...
0
votes
1
answer
5k
views
VBA: Save to sharepoint
I am trying to build a macro that save excel file to sharepoint based on cell value.
I have two cells that:
*the sharepoint path is copied from Teams using copy link.
"A1" = sharepoint path
...
0
votes
0
answers
173
views
Function Save in excel vba is acting as SaveAs
I have a macro, and I am struggeling with saving. The macro:
opens second workbook from SharePoint
unprotects it
unprotects a sheet in the original workbook
copies line(s)
pastes those line(s) in the ...
0
votes
0
answers
47
views
.SaveAs method troubleshoot
I am having trouble with the .SaveAs and .Close methods. The code will produce a fileName and a directory, but I am unable to save. I receive a method fail pop-up. I would appreciate any help. Thank ...
0
votes
1
answer
99
views
Save HTML as PDF (Tried Using MS Word, but embedded images failed!)
I have an old program (15 years old?) that generates HTML attachments to emails. Basically, contract details get attached, along with signatures. The company wants to now send PDF attachments ...
0
votes
1
answer
3k
views
Spliting a word document by pages and saving each as a line from that page
I have used mail merge to pull data from excel into a word document, I have then used finish amd merge, edit individual docs, all.
On the created doc I want to split this in to separate docs by page ...
0
votes
0
answers
319
views
Delphi: click web page buttons by code to initiate download
I am new to web development so please be patient.
I need to automate downloading a CSV file from an online location service every half hour. I am using Delphi 11.2 and WebView4Delphi. I can navigate ...
2
votes
0
answers
155
views
How to detect available disk space when saving a file in browser
I have implemented a screen recording feature into our webrtc conferencing app. (Normal MediaRecorder API)
I am using FileSaver.js to save the recordings.
Everything is working just fine.
I was ...
1
vote
1
answer
509
views
How to save textbox text to notepad and save again a textbox text to add it into the same note pad?
I want to save my textbox1.text in a notepad of my computer. And after saving that, I will save the next textbox1.text again. But I want it to be added to the same notepad. Anyone can help me on the ...
1
vote
2
answers
613
views
Excel won't let macro save spreadsheet with macros
I've written a spreadsheet for a small company, that has several useful functions including performing the shift rotation for their full- and part-time employees, generates a list of possibly ...
0
votes
2
answers
330
views
How to Create New Macro in New File using VBA
I need to assign new macro to new Bottom in new File with VBA in Excel
In other words, I want to create a new file on pressing a button (run a macro) that contains a button that will run a predefined ...
0
votes
1
answer
157
views
SaveAs gets a Subscript out of range error
I have a project where I am opening Excel files and saving them in a different folder. All is well until SaveAs is called. I am able to save the file, but I am not able to SaveAs. I am calling ...
-1
votes
1
answer
535
views
External VBS script to open excel file run macro and save as self [duplicate]
The code keeps producing this error
seems to be this line
"
xlBook.SaveAs Filename:="Template 1", FileFormat:=xlOpenXMLTemplateMacroEnabled
"
trying to run an external VBS script ...
1
vote
2
answers
3k
views
SaveAs xlsm in xlsx without opening files
I need to recover an entire sheet of all files in a folder. My macro goes through them one by one and picks it up.
I have xlsm files that show me a warning pop up, because there are macros and "...
0
votes
0
answers
130
views
VBA - String changes when SaveAs
My code creates a new Excel file, and gathers data into it. Then it should save it into a specified folder (on the hard drive), with a specified name.
The path - with the file name at the end - is ...