Saving In More Than One Location

Jul 22, 2006

I would like to create a button on a toolbar to save my spreadsheet in 2 locations (always going to be the same, just the file name will change).

View 5 Replies


ADVERTISEMENT

Sheet Not Saving To Location

Feb 3, 2014

In the attached sheet in module5 I have a save macro with this code

HTML Code: 

ActiveWorkbook.SaveAs Filename:="D:Picking Logs" & _
Replace(sFile, "/", "-"), FileFormat:=52

-This saves it to my computers D drive and works fine.

Then I also have the following code whice is suppose to save it to the public drive which is U: drive, but this computer does not have direct access that that drive so i save it to

HTML Code: 

ActiveWorkbook.SaveAs Filename:="wcrsan1
owley public1 picking logs" & _
Replace(sFile, "/", "-"), FileFormat:=52

-The wcrsan1 is the path i use to save it to th U:drive.

My issue is the code runs fine, but it does not save it to wcrsan1 owley public1 picking logs. If i save it manually it works but not when the macro runs it.

VBA is password protected.. The password is Kayley98 the sheet password is go

ho.xlsm

View 2 Replies View Related

Saving In Wrong Location

Sep 25, 2006

I have the following code which saves my worksheet with a name extracted from particular cells:

Public Sub SaveAsMaximoWO()
ThisFile = Range("AC5").Value
ThisFile2 = Range("E3").Value
saveName = ThisFile & " - " & ThisFile2
ActiveWorkbook.SaveAs Filename:=saveName

End Sub

This (for reasons I don't understand) saves the file to My Documents by default.

What I would like it to do is save to another folder within my documents as default.

View 14 Replies View Related

Saving Workbook In VBA And Location

Dec 20, 2008

I am using this code in my ThisWorkbook, but it keeps coming back as an error for

ActiveWorkbook.SaveAs Filename:=ThisFile

Private Sub Workbook_BeforeClose(Cancel As Boolean)
'Saves file as what is in cell "C7" to specified network location - variant below
Dim Location, ThisFile As String
Location = "\Office-pcpublicCustomers"
ThisFile = Range("C7") & Format(Now(), "dd/mm/yy")
ThisFile = Location + ThisFile
ActiveWorkbook.SaveAs Filename:=ThisFile
End Sub

View 9 Replies View Related

Vba Saving File To Certain Location

Apr 12, 2007

way to construct my save file so that it saves to the correct location.

I have a a FileSearch that lookings in a specific Folder and the sub folders for a file type and then saves them to a different location. Here is the location of the save in regards to the original location...

Filesearch folder= C:path
Savefolder=C:path he folder its found in & " excel converted"

If that makes any sense, basically I need to call the path of the file I opened, but not including the file name.

View 4 Replies View Related

Disable In-book Location Saving

Jan 6, 2010

I save a workbook, the location where I were last (ex cell Z42) is also saved and upon re-opening it again, it opens the sheet to the last location (Z42). So how could I make the workbook and all its worksheets to open at a defined location. ie. A1 for instance.

View 6 Replies View Related

Saving Excel Sheet On Network Location

Mar 21, 2014

I am currently having a slightly annoying issue that only happens 50% of the time, that when trying to re-save a excel sheet on a network location. The network location is a folder on another computer. The same happens when I try and save it as a pdf, but only happens half of the time.

The message which pops up says something along the line of 'Saving as: 'File-ServerDocumentsexcelsheetexample.xls' ' and a sort of green loading bar appears. It does this for about 15 seconds then goes off.

I've checked our anti virus (which is eset) and I've set it to not real time scan network locations.

I have attached a example of the saving message: ExcelWarningExample.jpg

View 2 Replies View Related

Newly Created File Not Saving At The Given Location

Jul 1, 2014

I have an issue with saving the file at the desired location below is the code i have currently used . I have given the destination as "D:New folder". The new file does get saved at location "D:" but not inside the "D:New folder", instead names the file as "New folder".

View 3 Replies View Related

Saving In A Second Location With Date/time Stamp

Aug 29, 2009

Is it possible to use a macro like the one below, and have the second location save with the date / time stamp in the name? This is what I need to accomplish: I have a few folks that need to make changes to a master spreadsheet daily. The spreadsheet is in a Network share that when modified and saved, will save to that network share, but also locally. Can the second location have the date/time stamp added to the name of the file so that I know when the changes were made and have an audit trail ? This will also keep a copy of the last modified file in case the spreadsheet is corrupted. Here is what I have for saving to 2 locations:

View 3 Replies View Related

Interpolation Given A Variable Table Location & Location Of Data Within

Oct 6, 2009

I am trying to develop a spreadsheet that will calculate a cost based on a matrix. I am attaching a sample of the calculation created so far. The end result is in cell M13 and is highlighted in yellow. I kind of layed the formula out in a few different cells, so hopefully it would be easy to follow.

simplify this process with maybe another formula that I might not be aware of, or maybe show me how to get this done in VB code. I think VB code would be the correct way to go just not sure.

View 6 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

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

Return To Last Location

Jul 6, 2007

How do I write a VB Script to take the user back to where they came from.

Example:

User is on Sheet 1 and clicks a macro that takes him to Sheet 10.
I need a macro that is on Sheet 10 that takes the user back to Sheet 1.
BUT if the User is on Sheet 5 and clicks on a macro that take him to Sheet 10
I need that same macro on Sheet 10 to take him back to Sheet 5.

View 14 Replies View Related

Vlookup And Location...

Mar 10, 2009

I have a VLookup function setup but I would like another function to tell me where in the table array the value is located.

View 2 Replies View Related

Lock Tab Location?

Nov 16, 2011

Is there a way in excel to prevent someone from "re-ordering" tabs in a workbook without using a macro?

I am using a sum formula that goes across multiple tabs, but noted when I rearranged the order of the tabs, that the results of the formula changed. After some minor research, I noted that I had moved a tab outside the "sum range" inadvertently.

View 1 Replies View Related

Defined The Location

Oct 10, 2007

If Worksheets(FirstSheet).Cells(Counter, ColtoMove) = MoveIf Then
'i didn't add the THEN PORTION becasue it errors at the above statement.

the problem is that when i go to the defined location (Worksheets(FirstSheet).Cells(Counter, ColtoMove)) it shows the correct/or same PO number as when i put the cursor over the "MoveIF"....this leads me to think that it should not error.

Could it be a correct statement to say how the MoveIf is defined?

I have added a list of all of the potential values that can cycle through this statement.

how these entries could cause a problem in the above code? I am trying to keep it simple (outside of the long list below that is)

PO Number
3840
4247
4260
17467
21012
38125
90495
132284
133291
133453
133840
135496
135816
4500016105
0026974
0027060................

View 9 Replies View Related

Reference Location

Jan 13, 2010

Is there a formula that will return a specified location (column and row) for a text item within a worksheet?

View 9 Replies View Related

Allow Save As With Different Location But NOT Name

Aug 26, 2006

I have the following code allowing the user to save a file using a custom macro button. However, I do not want to let them change the name of the file, just the location. How do I do this? ...

View 9 Replies View Related

How To Know Location Number Of Min Value In Range

Mar 31, 2014

A1 cell: 9
A2 cell: 6
A3 cell: 2
A4 cell: 4

i want to know location number of min value in range[A1:A4].

the result: 3

View 7 Replies View Related

Adding Numbers Together That Are From Same Location?

Dec 31, 2013

I attempting to develop a forumla to account for 50 locations I am responsible for that will add different numbers together based on a specific location.

For example, if the location says "Los Angeles", I need the formula to look for all instances of "Los Angeles", the quantity of items sold and add them up for me in one spot.

View 3 Replies View Related

Offset From Location Of Another Cell

Jan 15, 2014

Is there any way to use the offset formula in reference to the location of another cell?

Here is a simplified version of my problem:

Sheet1!A1 refers to Sheet2!A1.
Sheet1!B1 refers to Sheet2!D1.
Sheet1!C1 refers to Sheet2!E1.

Is there any way that I can say that Sheet1!A1=Sheet2!A1 and then use the offset formula based on the location referenced in Sheet1!A1? The cells being referenced are merged cells one column wide and varying rows long, so there is no real pattern to follow except that the corresponding cells (the ones that I want to use the offset formula on) are all taking up the same amount of rows and are an equal amount of columns over (Sheet1!B1 refers to 3 columns over from Sheet2!A1, Sheet1!B1 refers to 4 columns over from Sheet2!A1). The spreadsheet is a fairly complex one and it would be much cleaner and less likely to have any mistakes if I was not referencing each cell individually.

View 2 Replies View Related

Excel Backup Location?

Mar 29, 2006

Excel has a function, everytime when I save the file, it will create a backup. how could I specify the location for my backup file?

View 8 Replies View Related

Default File Location

Mar 26, 2007

I have had my server removed that I had my default file location, when I go in to change any of my options the first thing it does is go look for this file location and brings back an error stating it cannot find the server. I cannot find anywhere else that I could change it.

View 9 Replies View Related

Move Every Second Cell To Another Location

May 20, 2014

I have received a spread sheet with all the data in column A. It follows the format of A1 = Name, A2 = Email, A3 = Name, A4 = Email, etc. for over 800 entries. What I need to do is etract all the email addresses and place them in column B alongside the Name. I don't have any experience with Makros and tried to use one but kept deleting the wrong data.

View 5 Replies View Related

Search For Name Within Many Location Tabs

May 27, 2014

Attached I have my document that I am trying to create a search engine for. I want to be able to search for a name within many location tabs. I want to be able to search by name only, bring over the information, and be able to jump to the persons name. If at all possible i would like to be able to search for all that have been billed but not paid.

FluClinicBilling.xlsmFluClinicBilling.xlsm

View 1 Replies View Related

Popup Calendar Location

Jul 4, 2014

I followed this guide for a popup calendar

How can adjust this so the calendar popups to the right of the cell thats called it. At present it just pops up in the middle of the screen.

View 1 Replies View Related

VBA To Create Pie Charts For Top 10 Of Each Location

Feb 23, 2014

Basically I want to have a macro to loop through and make all the pie charts for each location but only for the top 10 of each location.

I also want the legend to be more precise for example, for London the first one in the legend should show:
Column C + "-" + Column I + "-" + Column J

Which would be: London - Rol9 -13

Instead of it being: London data rol9 13

Attached is the document in question where I've made the graphs manually : Example_Pies.xlsx‎

View 3 Replies View Related

Copy A Picture From On Location To Another On The Same HD

Jun 8, 2009

First of all, I would like to thank all Excel Forum Moderators and Members especially Andy Pope for the great effort they exert to help all members.

Lately, I viewed the thread available on the following link and I admired the great perfect work and codes provided by Andy Pope so much,

http://www.excelforum.com/excel-prog...-userform.html

My request is similar to the points discussed in the above mentioned thread, but, it is a little bit different ..

Instead of inserting the picture to the worksheet, I want the picture to be copied from one folder on the HD to another folder called (Employees photos), which is located in workbook's path.

In other words, I need a code to copy one jpg picture from one location to another.

View 6 Replies View Related

Default GetOpenFilename Location

Sep 10, 2009

I have the following code, is it possible to direct to a default directory that the file might be in? So when I open the dialog box it will automatically redirect a directory that is stored in VBA.

View 4 Replies View Related

Insert Row At Variable Location

Dec 3, 2009

I had a quick question for something that should be simple but I can't figure it out. I have a column of sorted values, it goes

A
A
A
A
A
B
B
B
B
B

and I want to insert a row to separate the A's from the B's. But there will be a random number of A's. I can figure out how to count where the A's end. But I can't figure out how to insert a row. Any suggestions? I tried the two below but they don't seem to work. The for section is counting the A's, and it works, it's what comes next that's giving me a headache!

View 2 Replies View Related







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