Synchronize Worksheets
Jan 4, 2008
I am trying to sync two spreadsheets. Say for example. I have Intl and finance spreadsheets. My header is row 1 in both the files.
1) I want to copy missing fields in header to desired spreadsheets
2) I want to copy the data as well.
View 3 Replies
ADVERTISEMENT
Apr 25, 2008
Range B9:B58 and I9:I58 data set 1 (worksheet Deal Selection)
Range J5:J18 and L5:L18 data set 2 (worksheet Tables)
Identical tables. Taking worksheet Deal Selection as our starting point column(s) B and I
If the user adds a new supply customer in column B then I would like this new customer to be
Reflected in worksheet Tables column J5 at the end.
And visa versa for column I add to column L5 at the end same work sheet.
I am guess that this could be done by amending the current macro button
Add Supplier and Add Demand on both side(s). but not removing it current functions
I have also added the question to another forum experts exchange as i am have difficult completing this task.
View 5 Replies
View Related
Feb 19, 2008
i have one main sheet, and two resource sheets. In main sheet i have resource and project Matrix and in top of the cell i can select the week number. in other sheets, i have week and project matrix for resource. Now what i want is if I enter some details in main sheet, those values should be automatically posted to Resource sheets.
View 2 Replies
View Related
Oct 4, 2006
I am trying to keep two columns in my workbook "in-sync". I have two ways of representing this particular part of my data, and depending on the situation I would either edit numbers or edit the associated strings. Example: In one of my columns I have integers. In another those integers can be represented as Strings. Here is an example of the relationship:
integer string
0 C0
1 C#0
2 D0
3 D#0
4 E0
....
12 C1
13 C#1
etc................
View 6 Replies
View Related
Jun 6, 2009
I am trying to track price and status changes from week to week.
If a # appears in columns A, D, G simultaneously, then change in price (plus or minus) needs to be calculated.
If a # appears simultaneously in columns A and G, but not in D, then column H should read "SOLD" for those entries.
If a # appears simultaneously in columns D and G, but not in column A, then column H should read "NEW" for those entries.
The desired results (shaded yellow) need to be sorted in chronological order using column G.
This is a small excerpt from a much larger data set which includes 100s of rows and the number of rows vary each week....
View 12 Replies
View Related
Aug 7, 2008
I have two sheets: Sheet1 and Sheet2. I want the Column A in sheet 1 to look exactly like Column A in Sheet 2 so I enter to A1 in Sheet 1 ='Sheet2'!A1 and drag it down. However, when I enter a new row -let's say between row 4 and row 5 - in Sheet2, then A5 in Sheet 1 keeps the value of old A5 (new A6) in sheet2. I, on the other hand, want it to have the value of new A5.
View 2 Replies
View Related
Jan 17, 2008
I am trying to write a macro that can copy the shading from another cell for me automatically. I would like to look for certain text strings within a serial number, and when found, copy that cell's shading in another cell.
I am using INDEX, MATCH to copy the corresponding value needed, but that doesn't give me the shading...
View 6 Replies
View Related
Feb 4, 2013
I'm looking for a code to have all the sheets in my workbook scroll together and adjust their zoom level. For example, if I zoom to 70% on Sheet 1 and scroll down to display cell J93 in the bottom left corner, I would like Sheet 2 to also be at 70% and have J93 be at the bottom left corner when I click on it.
Preferably, I would like for the sheets to adjust accordingly only when I click on them and for the macro not to have to loop through each one whenever I change one sheet (my workbook has 52 sheets for weeks of the year, plus summary sheets, so it would be very draining for it to loop through each).
I've already found a macro to have the scroll match across sheets as I adjust and click on them, but I was hoping for a code that would incorporate synchronized zoom into it as well.
View 1 Replies
View Related
Apr 19, 2013
Working with Windows 7 and Office 2010
I've created a Excel workbook with VBA code to synchronize an Access database between a laptop and a server. One of the fields in the database is a shortcut to a jpg for each record. (The Access stuff is not too important here)
Now I'd like to add the ability synchronize the photos between the laptop and the server; so people who use the server can view the photos added by the laptop and vice versa.
Something like:
Code:
For each [JPG] in [LaptopFolder]
If not [JPG] exists in [ServerFolder] then
filecopy [LaptopFolder][JPG], [ServerFolder][JPG]
end if
next [JPG]
That code wouldn't work.
View 4 Replies
View Related
May 15, 2013
I have read that there is a VBA macro in F11, but I also read that it would only sort the workshhet names, but not the data. I have Excel 2010.
View 2 Replies
View Related
Jan 16, 2009
Just need to delete some hyperlinks in column A on 50+ worksheets. Thought a loop through all the worksheets would do it. Only works on active sheet. Forgive my ignorance, don't really even know where it goes, once it works - module or workbook?
View 2 Replies
View Related
Jul 7, 2014
Let's say I have a workbook with 7 worksheets named, for example, "Instruction", "Begin", "Worksheet 1", "Worksheet 2", "Worksheet 3", "End", and "Data". (in that order)
What I want to do is run a macro to go to whatever worksheet that is in between "Begin" and "End" and copy, for example, cells $C$1:$D$10; then paste as formula into worksheet "Data" starting from cell C1 and then down a list (i.e., copied cells from "Worksheet 1" get pasted as formula into "Data" cells C1:D10; then copied cells from "Worksheet 2" get pasted as formula into "Data" cells C11:D20, and so on and so forth).
But if I were to add more worksheets (e.g., "Recipe" and "ToDo") positioned in between "Begin" and "End" and run the macro again, it'll either 1) re-copy all the formulas from the included worksheets back into "Data" including the formulas from the newly added/placed worksheets or 2) it'll add the formulas from the newly added/placed worksheets and paste into "Data" at the end of the list.
Can create the macro to run based on the position of worksheet, and not based on the name of worksheet, since ultimately there will probably be over 10 worksheets between "Begin" and "End".
View 4 Replies
View Related
Aug 10, 2009
I'm trying to perform the same process to all the worksheets in my workbook. This is the code I have now, but it will only apply to the single active worksheet:
View 2 Replies
View Related
Apr 26, 2006
How do I modify this macro so that the worksheet array will select all the worksheets except sheet 1?? My workbooks will have varying numbers of worksheets ...
View 3 Replies
View Related
Jul 21, 2014
Instead of just counting all worksheets I want to count the number of worksheets between 2 control worksheets (Start and End). Reason for this is that I have a Workbook that grows weekly and each new worksheet is inserted after "Start". I have a macro that lists the Worksheet names but it grabs all and I only want those between Start and End.
View 9 Replies
View Related
Nov 10, 2006
I need to write VBA code to clear all Values, all values beginning with an = sign for eg = 9725, except formulas and text on all my worksheets, except the last 2 worksheets.
View 9 Replies
View Related
May 14, 2012
I have 2 nearly identical workbooks and I need to update historical data from the old workbook into the newer one.
My current Coding Snippets that I want to use look like the following:
Code:
Sub UpdateWorkbook()
Dim ws As Worksheet
Dim r1 As String
Dim r2 As String
Dim r3 As String
Dim r4 As String
Dim r5 As String
Dim r6 As String
[code]....
Now, this code isn't working I suspect because the Copy and PasteSpecial Functions don't work the way I wish to.
View 4 Replies
View Related
Oct 26, 2007
I have a large data file, to make work easy for myself i have seperated each section into different worksheet. well my problem is. i want to use this very simple method for SUM "=SUM(A1+A2+A3)". If I am doing this on a same worksheet its no problem at all.
Is there any way to use this same simple method between different sheets?
like. Sum of A1 of sheet1 + A1 of sheet2 + A1 sheet3 here.. A1 is a cell and sheet 1 onwards are different sheets
View 3 Replies
View Related
Oct 16, 2008
I need to add a row in tab "Clients", every time I have a new customer. Then I need to add that same row in another tab "Master". I tried using a macro but it copies the same row with the same information again and again.
Basically i need to add a row, put in some info and that automatically the same row is added in another tab.
View 11 Replies
View Related
Aug 25, 2009
how to get the maximum value from two worksheets and displays the output or maximum value on another sheet? I have attached a sample worksheet. Sheet 1 and Sheet 2 contains values to be compared while sheet 3 should contains the output or maxed value.
View 8 Replies
View Related
Nov 2, 2009
I want a UDF to copy a data range, add a new worksheet and paste the range into it as part of a function calculation not a user interface macro.
I simply cannot add a worksheet from a Sub that is called by a Function, only by a Sub launched as a macro. As shown below - the Function quits at Sheets(SheetName).Select as there is no such Sheet.
It seems that VBA cannot add worksheets from UDFs. Does VB .Net do this? How can I add sheets within a UDF without user interface objects?
View 14 Replies
View Related
Jan 18, 2007
I have a worksheet titled Current, which houses data about current Work Orders out of our shop.
In column E I have the departments listed
In column I, I have the numbers of hours worked on a particular job.
In another worksheet I am trying to sum the total hours of work performed for a particular department.
=IF(Current!E2:E300="Admin",SUM(Current!I2:I300))
Here is the formula I tried to create, but it returns FALSE?
View 9 Replies
View Related
Dec 14, 2012
run a code that passes the word alarm from worksheet 3 to worksheet 2 as 100 instead of as the word alarm..... but i need it that it can copy the number 100 on any cell range between cell 2 to cell 10 on worksheet 2 depending on the other data i copy
View 1 Replies
View Related
Feb 8, 2009
Is there any way that you can combine two worksheets or Excel files, for example:
WORKSHEET_1 has columns and values as:
firstname
lastname
city
state
WORKSHEET_2 has coulms with NO values as:
firstname
lastname
address
city
state phone
I want to take the info from WORKSHEET_1 and insert it into WORKSHEET_2 without specifying any columns since WORKSHEET_1 might sometimes have only 1 column and sometimes might have all 5 columns.
The purpose of this is to create a standardized Excel file that I need to import into a Database, however the users might have Excel files without all the columns required therefore I need to "standardize" the worksheet before being imported and have any black values import as NULL into the Database
View 14 Replies
View Related
Apr 3, 2009
I have 5 Sheets and want to ADD a particular cell say A20 from 4 of the sheets onto A20 on the 5th Sheet. In Lotus 123 sheets are identified as A:a20, B:a20 etc How are they identified in Excel?
View 2 Replies
View Related
May 9, 2009
I need to merge for worksheets (in the same workbook) into 1 large worksheet.
Is there a command that does this? Or do you guys have a custom macro that does this?
View 11 Replies
View Related
Jun 1, 2009
I have about 45 worksheets in one file. Then all have been named. Is there any quick way to order them? I would prefer not to move each one.
View 2 Replies
View Related
Sep 4, 2009
I am trying to sum through multiple worksheets but maintain flexibility using INDIRECT but it is not working!
I have a worksheet for each month of the year Jan - Dec with a financial result. In order to get a Year To Date figure I would have a formula such as:
=sum(Jan:Jul!B3) for a July YTD.
However, I want to maintain flexibility such that I can enter the worksheet name in cell A1, e.g. Sep and then have a formula such as:
=sum(INDIRECT("Jan:"&A1&"!B3"))
Thus allowing me to generate the correct YTD at any point. All I get is a #REF error.
View 9 Replies
View Related
Dec 15, 2009
I'm looking for a function to look up a value from other worksheets after selecting a person's name from a drop down list. Here is an attachment to further illustrate.
View 5 Replies
View Related
Dec 21, 2009
I'd like to update some of the hardcoded numbers to functions that would pull from lookup tables. However, when I enter this in A1,
="Blah, blah "&B1&"."
In a "fresh" spreadsheet I get "Blah, blah 2009." , in cell A1 where B1 has 2009 typed in.
In a "stale" spreadsheet I get "#VALUE!" in cell A1 (with 2009 typed in B1).
I've tried right clicking--> format cells and then changing to a variety of formats w/no luck at all. The only thing that works is to create a new sheet in the workbook and reformat the table and cells by hand. Clearly this is an ineffective workaround.
So, exactly what is the property that I need to reset in the "stale" worksheets that will allow, ="Blah, blah "&B1&"." to be read properly?
View 14 Replies
View Related