Saving One Worksheet

Mar 28, 2007

I have 2 sheets in a spreadsheet I would like to Save Sheet2 ("Packing Slip") ONLY!
If I can I am trying something like this.


Public FilePath As String
Sub SaveAs()
Dim strSaveAsFile As String, fp As String

FilePath = ""
' Change the FilePath to suit
fp = "S:Projects"
Call MakeFolders(fp)
Call MakeFolders("PCAR " & Format(Date, "yyyy") & "")
Call MakeFolders("PCAR " & Format(Date, "yyyy") & " OUTGOING" & "")
Call MakeFolders(UCase(Format(Date, "mmm yyyy") & "")).........................

View 9 Replies


ADVERTISEMENT

Saving User Inputted Data From A Worksheet To Another Worksheet And Saving It

Jan 7, 2009

I have created a form in a worksheet which I have added questions too and then locked all cells except the ones where I want the answers in.

I have then added a button to the bottom of the sheet called "Print and Save". This work sheet is called "form"

On a second sheet called "database", I have all the titles of the questions running from a -> k and nother else.

What I want to happen is the user input the information on "form" into the boxes available. Once they have completed the questions, I want them to be able to click on "Print and Save" so that firstly the page "form" prints, and then for all of the answers to be saved in "database" below the titles for each question.

I have had a play, but just don't know where to start. Also, once there is a row of questions below the titles, I don't want it to overwrite information already there, it needs to go onto the next empty row available.

Attached is my excel file.

You will see in the code that I have the code for printing.. I just found this on the net and it seems to work fine for me.

View 9 Replies View Related

Saving A Worksheet

Mar 23, 2007

I have two worksheets in a spreadsheet but after I use it I want to be able to click a button and just save Sheet2 Alone. Can I do this.

I have this that works but would need to change it up to just save sheet2

Public FilePath As String
Sub SaveAs()
Dim strSaveAsFile As String, fp As String
FilePath = ""
' Change the FilePath to suit
fp = "S:Depot Outgoing"
Call MakeFolders(fp)
Call MakeFolders(Format(Date, "yyyy") & "")
Call MakeFolders(Format(Date, "mmm yyyy") & "")
Call MakeFolders(Format(Date, "mmm dd") & "")

strSaveAsFile = UCase(ActiveSheet.[B8].Value) & ".xls"

ActiveWorkbook.SaveAs FilePath & strSaveAsFile, xlWorkbookNormal
FilePath = ""

End Sub

View 9 Replies View Related

Saving WORKSHEET File

Apr 20, 2009

Saving WORKSHEET file. I'm using this code:

View 4 Replies View Related

VBA Not Saving Complete Worksheet?

Feb 8, 2013

The idea is that a button on the worksheet 'Sample Info & Results' runs the macro which copies the worksheet to a new file with the name specified in the cell B3 and saves it as a csv format with ";" as the separator. For the most part it is working with the exception that the export stops at row 6 for some reason I dont understand. The code is not mine (credit to T.Thielmans on stackoverflow). code for 1) referencing a folder location within the original file to use as a standard location to save the csv file and/or 2) removing hidden columns.

Code:
Public Sub ExportToCSVFile(FName As String, Sep As String, SelectionOnly As Boolean, AppendData As Boolean)
Dim WholeLine As String

[Code]....

View 3 Replies View Related

Saving A Worksheet Or Wookbook

Apr 26, 2006

I have a sheet that I want personnel to enter in data into certain cells.

The problem Im having is that people are saving the workbook with different names then what it is from the data they entered.

I want EXCEL to save the excel sheet as it is typed in one of the cells in the workbook.

Example: the information typed in cell A1 is " Black Dog ".

I want the excel workbook they are currently working on to promt the "Save As" box to save as " Black Dog " when they are done entering data into that cell.

Is there a Macro or something out there that would bring up the "Save As" box to save the workbook or worksheet?

View 7 Replies View Related

Saving A Worksheet As A File

Oct 24, 2006

I have a workbook which utilizes 2 worksheets to fill a third. I would like a macro to be able to save JUST that worksheet, and not the other two. I thought there was a checkbox allowing you to "save selected" only, but I'm either dreaming, or it was in a previous version of Excel (I know use Excel 2000).

View 9 Replies View Related

Saving Worksheet As PDF Using Vb On Click Button?

Jul 10, 2014

I've been looking for a way to save a worksheet as a PDF document and place it in a folder in Documents.

View 4 Replies View Related

Worksheet Not Saving Array Values

Apr 24, 2014

Below is the syntex I am using in the array... and the source file.. when opened will calculate the values. The problem arises when I close the source file and values return to this " #Value". My entire frontend file is nothing but arrays and links compiling data from multiple sources and everything works except cells that have the below array in them.

why my cell values will not save upon saving and closing both my frontend file and source file?

=SUMIFS([MIS_Incoming.xls]Weekly_Inc_Overview!$E$2:$E$80,[MIS_Incoming.xls]Weekly_Inc_Overview!$B$2:$B$80,"FRIDAY",[MIS_Incoming.xls]Weekly_Inc_Overview!$C$2:$C$80,TODAY()-3,
[MIS_Incoming.xls]Weekly_Inc_Overview!$D$2:$D$80,"First Chargeback")+SUMIFS([MIS_Incoming.xls]Weekly_Inc_Overview!$E$2:$E$80,

[Code] ........

View 3 Replies View Related

During Saving Worksheet Cells Loosing Links?

Jul 4, 2014

When i save the worksheet cells are loosing links to other cells. what is even more surprising it happens only for 6 cells in 6 sheets.

scheme of links
Basic data
P1
P2
P3
P4
P5
P6

On the sheets P1-P6, each cell A1 has a link to Basic data.

View 2 Replies View Related

VBA Saving Copy Of Single Worksheet To Different Folder?

Oct 26, 2012

I currently have a application that people fill out on a userform. When they click on a command button at the end it puts all that information on a sheet i made and then we print it off. My objective is when it saves it to the sheet it also save a copy of that paticular sheet in a seperate location such as H:/applications. Also the copy should be renamed to the information thats in a specific cell Such as j4 the have this text added after that "Application"..

View 4 Replies View Related

Macro Close A Worksheet Without Saving And Without Confirmation

Dec 17, 2002

I am new to EXCEL and wanted to know if you can have excel startup running a macro and also if you can have a macro close a worksheet without saving and without confirmation. I created the basic macro of what I want to do. I just want it to be able to run unattended. Is this possible with EXCEL?

View 9 Replies View Related

Saving Excel Documnets ... Open First Worksheet Every Time

Apr 17, 2009

I have a workbook with several worsheets in it. I wish to have the first worksheet as a list that will be hyperlinked to the other worksheets within the documant.

Is it possible to save the workbook so that it will open at the first worksheet every time irrespective of what worksheet you were on prior to clicking save.

View 7 Replies View Related

Saving A Worksheet As A Asterisk Delimited Text File?

Sep 19, 2013

I am trying to save a worksheet as a txt file. The worksheet has a range of data with a variable amount of rows in column A only. It generally will look like:

A*B*C
A*B*C*D*E*F*G*H*I*J
A*B*C*D*E*F*G*H*I*J
A*B*C*D*E*F*G*H*I*J

where each row of data is in a single cell.Whenever I save it, however, it adds extra tab deliminations in each row after the data, and it adds rows with no data (sometimes just 1, sometimes many).

I am positive that no cells in columns B-n have data in them (even just a space) and no rows after the last intended have data.

Why are these extra rows and columns being inserted? How can I save a txt file that literally has no other spaces or rows or deliminations other than what's intended?

View 2 Replies View Related

Saving Worksheet In Html Format Office 2007

Jan 20, 2008

I have been using code to save a collection of my reports in html format that has work very well until I was forced into using Vista and office 2007. Here is a snippet of the code that no longer works - at least I suspect this is the main problem.

View 4 Replies View Related

Deleting Multiple Worksheets And Saving Active Worksheet

Aug 3, 2007

I am trying to find a easy way to delete multiple worksheets in a workbook and then saving the workbook based on the tab name of the worksheet.

View 9 Replies View Related

Excel 2013 :: Saving Large Multiple Worksheet File

Aug 11, 2014

I have an Excel file that's updated monthly. when it does save its around 16mb and can take up to 12 hours to save, and sometimes just doesn't.

I have tried saving as binary, I have made sure exact size of area to be saved is required, I have tried save with no calculations.

Basically the only reason I need to save it is so that another analysis spreadsheet can pull data from it. The file is heavily formatted, charts, vlookup tables etc, none of which is needed when analysis spreadsheet links to it.

View 1 Replies View Related

Excel 2007 :: Saving Worksheet As New XLS File Without Compatibility Checker

Apr 24, 2013

We are using Excel 2007.

I have a macro enabled spreadsheet and I need to save one sheet into a new file that is in xls format. I can do that --- is there anyway to suppress the Compatibility Checker box to make it that much easier?

The new file will not have macros as will just be a data in rows and columns so compatibility. Interesting is the compatibility checker box says there are links to the original spreadsheet, but I can't find them in the connections menu.

View 2 Replies View Related

Saving A File Without Saving Macro

Jan 30, 2003

I have a spreadsheet that imports data, manipulates it then deletes 2 of the sheets then saves the file under a different name to the network. Is there any way to save this new worksheet without it storing the macros - so when the user open it, only the data is there and they get no prompt to enable macros?

View 6 Replies View Related

Copy Worksheet In Workbook With All Formulas On New Worksheet Referencing Previous Worksheet

Apr 21, 2012

I have a workbook that contains 50 worksheets named 1-50. I need to add more worksheets. all the formulas in the worksheets always refers to the previous worksheet.

How can i make a copy of the worksheet named 50, name it 51 and have all the formulas in worksheet 51 refer back to worksheet 50?

View 1 Replies View Related

Saving The Macros.?

Apr 23, 2009

I'd like to be able to just open the spreadsheet up and have the macros already saved in there. Is there a way to save these macros?

View 2 Replies View Related

Saving A Module

Aug 24, 2008

I have been making and so i thought saving a module however every time i close the spreadsheet that module is associated with it deletes. is there any way to prevent this from happening.

Also when trying to edit on PERSONAL.XLSB!Module1 i get a particular error stating
"cannot edit a macro on a hidden workbook. Unhide the workbook using the Unhide command."

View 12 Replies View Related

Saving All The Sheets As .txt

Dec 31, 2009

The aim of the macro is to save all the sheets in .txt files named as the original sheets.

View 3 Replies View Related

Save As Sub Not Saving

Dec 31, 2009

The dialog box comes up with file name formatted correctly and shows .xls as file type but when you choose save the dialog box disappears as if the file was saved but the file never gets saved.

View 3 Replies View Related

VBA Saving Range As Dim?

May 24, 2013

I am trying to write a script to import, reformat and save sales files for upload into our master server and had a question.

how to make it store a range as a dim to use later. I would use

Code:
Range(ActiveCell,ActiveCell.End(x1 Down)).Select
on all the columns, but there are often blanks in many of the rows and I am worried about potential errors.

There is a column which always has all of the rows populated, so I was hoping to could store the range of that column and use it for all the others, so they all match length.

View 2 Replies View Related

Message Before Saving

Jan 28, 2007

I have a workbook with several users. I'd like to present the user with a message when he/she hits the save or save as button, such as "Have all entries been verified?" with a yes or no option.Need to allow save when either button (yes or No) is entered.

View 9 Replies View Related

Saving A Formula

Mar 9, 2007

Is there a way to save a formula in Excel, or do I need to use the macro function. I would rather not use a macro due to how simple the formula is but I use it often enough that I do not want to retype it each time.

View 9 Replies View Related

Slow Saving - VBA

Mar 14, 2007

I'm rather new at VBA

I have a small workbook with a userform and some buttons. Each time I press a button a counter increases and the workbook is saved.

This saving seems much too long for such a small file.

I use
Activeworkbook. save

View 9 Replies View Related

Time Saving

Jun 12, 2007

I work with alot of reports that are pulled directly from an application.
On each report i need to 'Alt=' at each cost center so that all manual changes are picked up.

However as you can imagine with thousands of rows this could take a while and be very tedious. Is there a quick way to do it?

Subtotals will not work because the costcenters will appear in the same column as the employee numbers.

View 9 Replies View Related

Saving A Csv When Using Easyfilter

Oct 22, 2008

I have excel 2003 for XP and I have a excel file that is a csv. I used easyfilter to filter my results. (I wanted to delete complete rows that had no information in a certain field in column) Everytime I complete the task and try to save it, it tells me file.csv may contain features that are not compatible with csv do you want to keep the workbook is this format? -to keep this format, which leaves out any incompatible features, click yes. -to preserve the features, click no. then save a copy in the lastest excel format.

My question is this...is there a way to bypass this? Is there a simpler way to delete those rows without using easyfilter so that I can save it after the rows have been deleted.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved