Questions tagged [save-as]

This tag refers to a common UI prompt type that asks a user under what name they wish to save a file as.

Use this tag for questions related to building or using such a prompt.

514 questions
0
votes
2 answers

How to save created excel instance to client's disk with save as dialog box

In a project when user click a button, some data is gotten and written to an excel instance by interop library. Now, I want that: When excel instance get all data, a save as dialog box muste be open and save this excel instance to user specified…
mavera
  • 3,171
  • 7
  • 45
  • 58
0
votes
1 answer

ASP.NET files get corrupted when uploaded

I have a problem uploading files to the server. In my web page I have three different file upload web controls from which I pick the files. To save the files on the server I am using the FileUpload.PostedFile.SaveAs() method. If I upload files…
0
votes
1 answer

How can I save as word.docx in open xml

I need to open a template, add some text, and then save it with a new name. How can I save it with a new name? String Dir = @"F:\template.docx"; WordprocessingDocument wordprocessingDocument = WordprocessingDocument.Open(Dir, true); …
Alienvlg
  • 1
  • 1
0
votes
0 answers

Save as in visual basic

i want to do a "Save as" in my program in visual Studio but i have a problem... This is the code where export datagridview to excel : If ((DataGridView1.Columns.Count = 0) Or (DataGridView1.Rows.Count = 0)) Then Exit Sub End If …
user8113589
0
votes
1 answer

Save image with html2canvas - Pure Javascript

I'm trying to make a button to capture and save my page in png. For now, I can duplicate it with the resolution I need, but instead of showing it need to show a dialog and save it like "Save as..." to rename the file. function…
Léo Durand
  • 215
  • 1
  • 4
  • 13
0
votes
1 answer

Powershell: Open HTM and Save As XLS

is it possible to have Powershell open a .HTM and save as an .XLS. My HTM file is a table that I would like the formatting carried though to which rules out a CSV. I have tried various methods using save as however it just saves the file with the…
Slaine MacRoth
  • 41
  • 1
  • 2
  • 10
0
votes
1 answer

FileUpload.PostedFile.SaveAs() not working on live website asp.net

I have a form in a website that does 2 simple things. rename the file route the file to one of 4 specific folders in a server. The code works perfectly when I run it inside Visual Studio, however, once it goes live it just doesn't work. I do not…
Cai Cruz
  • 103
  • 1
  • 2
  • 12
0
votes
1 answer

how to open save as dialog box of browser with javascript or other language?

everyone. I've built a site to parse online video url. eg: facebook video downloader I can get the real video address by using python Crawler. My problem is: after getting the real video address, how can I open the saveAS Dialog box of browser by…
www.atob.site
  • 61
  • 2
  • 4
0
votes
1 answer

Keyboard shortcut to Save As in MS Word 2010

I am creating PDF from word documents. I need to take more steps to save MS Word 2010 Document into PDF. Keyboard shortcut to Save As in MS Word 2010?
ersks
  • 1,409
  • 2
  • 16
  • 23
0
votes
2 answers

vba - saving file to my personal desktop code

I have the following code which is designed so I can quick save to my desktop and then put the file into a folder. This code works fine if the file is already saved in an .xls, .csv, .xlsx or .xlsm file extension, however, when the file IS NOT…
Mike Mirabelli
  • 402
  • 3
  • 16
0
votes
1 answer

Excel VBA: Disable Auto Open when Save As function is run

I am running a code that takes the data that is input and creates a copy of the file. That is fine; however, the new file opens every time it is saved. I would like to save the file without it opening up automatically. I was playing around with some…
Eva
  • 17
  • 2
  • 9
0
votes
1 answer

Save As Box for Excel generated text files

I'm trying to build a macro which takes text generated in a worksheet & saves it to a text file. When run the user is prompted to save the text to a file using the Save As Dialog box. The problem is that if the user selects a location other than the…
Bruce
  • 1
  • 1
0
votes
1 answer

Excel Macro to 'Save As' in a set drive location as a .xlsm

I am trying to write a macro to save an excel file in a defined location, using a value in a cell as the title in the format .xlsm, it appears to work but does not actually save the file? i am not sure what i have done wrong? here is the macro: Sub…
Maxe1984
  • 37
  • 6
0
votes
0 answers

Excel Worksheet SaveAs

I am close on this but not quite there. I am trying to save the top worksheet only (List for Mailchimp) as a separate worksheet once the calculations are finished. Right now I am getting errors and in a perfect world it would prompt the user to name…
0
votes
2 answers

Powerbuilder-Remove last separator

Hi i'm using PB 12 and I have problems with SaveasFormattedText The funcion works well, but the separator char add one character at the end of each line and I need to delete the last separator. For example, saveasformattedtext export data like…
Maria Zega
  • 67
  • 1
  • 1
  • 6