Excel 2010 :: Switching Sheets While Keeping Cell The Same

Feb 12, 2014

I am using microsoft excel 2010. I currently have workbooks for various things with 46 worksheets in each one (each worksheet is a store). I usually go into the worksheets daily and dump numbers into each sheet. I was wondering if there was a way to switch worksheets but keep the cell the same when i switch to a different sheet to make it much easier to dump the numbers in.

For example: Say in worksheet1 i am in cell A34 to dump in a number. When i switch to worksheet2 i want to be in the same cell to dump the next number for the next store and so on and so forth for the next 44 sheets.

View 7 Replies


ADVERTISEMENT

Keeping The Same Cell When Switching Worksheets

Mar 30, 2007

I would like my cursor to stay in the same cell when I switch worksheets. If I'm in B40 on worksheet one, and switch to worksheet two I would like the cursor to be in B40.

I'm using very basic excel functions with no scripting at the moment.

View 9 Replies View Related

Excel 2010 :: Keeping Manually Entered Table Data Associated With Correct Row?

Jan 14, 2014

I have a table created in Excel 2010 by a SQL query. the query pulls 3 columns of data - Resource Name, Contract Company, Labor Category. I then add a column called "KEY". KEY is derived using VLOOKUP. VLOOKUP is matching the Contract Company from the table created with SQL to a table called "Rate Key" in another worksheet in the spreadsheet based on the matching the Contract Company. That all works fine. If the table changes due to changes in data coming from the SQL db, the column I've added using VLOOKUP recalculates correctly. Then I add 2 more columns. One is called RATE - which is a number that I manually type in. The last column is called RCode and is calculated by the RATE times the KEY. Whenever I refresh the SQL query, all of the the calculated rows work fine; however, the data in the RATE column that I manually enter does not move - it stays with the row regardless of whether or not the name changes when the new SQL data comes over. How do I get the values manually entered in the RATE column to move with the correct row when the rows change?

View 2 Replies View Related

Macro For Switching Sheets When Cell Value Greater Than 0

Jan 5, 2012

I have three spreadsheets

I need to have an automatic macro where if the Cell Value in SPREADSHEET 2
for example Cell J5 is greater than 0 (Zero is the default value in the cell).

Then the macro will open up a msgbox that says "You Are Not Eligible" in SPREADSHEET 1.

This is the code that I have placed in SPREADSHEET 2.

Private Sub Worksheet_Activate()
If [J5] > 0 Then
Sheets("Spreadsheet1").Select
MsgBox "You Are Not Eligible"
End If
End Sub

However it does not go to Spreadsheet 1

View 9 Replies View Related

Excel 2010 :: Number Format Keeps Switching To Date Format?

Aug 1, 2013

I have an Excel 2010 spreadsheet where the default number format keeps switching to the date format. I keep switching it back and it'll stay as a number format for a time, but then it'll switch back. This is also the case for any new worksheets in that one spreadsheet.

This only happens with this one file - everything else behaves according to my regional settings or to how the file had been previously formatted.

View 3 Replies View Related

Stop Sheets Switching

Nov 13, 2009

Stop sheets switching. I have a simple autofill macro

View 4 Replies View Related

Switching Between Sheets - Shortcut

Oct 7, 2002

I often find myself moving from one sheet in a workbook to another over and over. I wanted a shortcut that moved between the last two sheets selected.

Similar to how Alt+Tab works with windows.

Does anybody know a keyboard shortcut or if not is there a macro that could be added to perosnal.xls that would mean i would aways b able to switch between two sheets quickly.

View 9 Replies View Related

Macro To Enable Switching Sheets

May 2, 2013

I am looking for a code that would enable switching of sheets. For example, on Sheet1 (Master Sheet) I have got Industry1 to Industry3 and the companies within the Industries are on Sheet2 to Sheet4. When someone clicks Industry1 on Sheet1, it should navigate to Sheet2 (where it gives a list of companies within the industry), and when Industry2 on Sheet1 is clicked, it should navigate to Sheet3 and so forth..

View 3 Replies View Related

Excel 2010 :: Macro To Save Multiple Sheets To Multiple PDF With Cell Value As Filename

May 6, 2014

I would like a macro to be able to save 26 tabs within the one document to individual PDFs.Preferably I would like to be able to specify each time exactly which tabs get printed, because often I don't need to print all 26, just the first 10 or so.I would like each PDF to automatically be named with the value in cell E10 of each tab.E10 already has a formula to create its final value. It references cells from other tabs within the same document. Hopefully the fact that this cell has a formula in it won't affect my ability to use the resulting value as a 'save as' reference?I would like it if the PDFs save to the same location as the Excel sheet from which they're generated is located. The location of the excel sheet will change every three months, so I'd prefer not to specify a location with a specific filepath, as it will have changed by the time I run the macro again.

I am using Excel 2010.

View 5 Replies View Related

Excel 2010 :: How Many Sheets Can Be Created

Jul 26, 2013

How many sheets can be created in Excel 2010? Is it depend on memory PC or is any limit within Excel?

View 2 Replies View Related

Excel 2010 :: Browse Only Visible Sheets

Jul 28, 2012

I am using Excel 2010.

I found code from the internet attributed to Bob Phillips for VBA to have a dialog box pop up and allow the user to select what worksheet to navigate to.

The code works well except it doesn't exclude hidden or very hidden worksheets.

Code:

Sub BrowseSheets()
Const nPerColumn As Long = 38 'number of items per column
Const nWidth As Long = 13 'width of each letter
Const nHeight As Long = 18 'height of each row
Const sID As String = "___SheetGoto" 'name of dialog sheet
Const kCaption As String = " Select worksheet to goto"
'dialog caption

[Code]....

I know there is the line of "If Sheets(i).Visible And i Mod nPerColumn = 1 Then..." but it still allows all sheets to show up in the dialog box.

How it can be modified to include visible sheets only?

View 9 Replies View Related

Excel 2010 :: How To Create Named Tab Sheets

Jan 7, 2014

I have a workbook which needs a new sheet for each day of the month.I normally just create and re-name each sheet with the date...is there a simpler way where i can create the new sheet with a date for each month instead of doing indiviually?

Excel 2010

View 9 Replies View Related

Excel 2010 :: Use Macro To Compare Two Sheets

Jul 18, 2014

I'm working to compare to sheet every days and i have been doing this for 2 years

I need to write macro to compare 2 columns from two sheets (sheet1 and sheet2) on same excel book and display the result on the sheet2. The number of rows and columns may not be equal and it can vary each time.

The result should be written in the sheet2 at column 'NOTES'

If serial number is blank, the result written at NOTES column =*NOT TRACK

If serial number found on sheet 1-serialNumber column, the result written at NOTES column =*Registered

If no serial number found on sheet 1-serialNumber column, the result written at NOTES column =*New registration

Example Sheet1:
PurchaseOrderNo
Manufacturer
ProductNumber
SerialNumber

PO123
Table
453154-B21

[Code] .....

I'm using excel 2010 and window 7.

View 9 Replies View Related

Excel 2010 :: How To Sort Sheets Into Alphabetical Order

Nov 13, 2012

Is there a way to sort out the sheets into alphabetical order in excel 2010?

View 5 Replies View Related

Excel 2010 :: Looking Up Values Across Sheets And Return Not Only Value But Also Sheet Name

Jan 14, 2014

I am looking up the largest value across various sheets (1 to 99) with the following formula:

=LARGE('1:99'!$B$1:$B$50;$C3)

That correctly returns the largest value in range B1:B50 across sheets 1 to 99.

However now I want to know the sheet name of the value above in a seperate cell, let say in: A3.
I'm using excel 2010.

View 3 Replies View Related

Excel 2010 :: Workbook With Two Sheets / Query Parameters

Mar 6, 2012

I have a workbook that contains two sheets with two separate queries. On the first sheet I have two cells designated to accept the values for the parameters. The first sheet accepts the values and populates the table correctly. The second sheet doesn't seem to accept the values and just returns blank rows.

View 9 Replies View Related

Excel 2010 :: Compare 2 Sheets And Add Missing Row From Sheet 1

Nov 4, 2012

How i could this one in formula or macro, first my 1st sheet is just as show below (maybe use for a template)

1st sheet (full list)
fruits
china
orange

0
0
0
0

fruits
china
apple

[Code]...

then 2nd sheet, report i get which something like this :

fruits
china
orange

1
25
1
500
fruits
jiapan
kiwi
2

[Code]...

then i want result like this on 3rd sheet :

fruits
china
orange
1
25
1
599

[Code]....

so basically i want add missing row on sheet 2 from sheet 1

I am using office 2010.

View 4 Replies View Related

Excel 2010 :: Creating Extra Sheets With Macro?

Nov 7, 2012

I have headings across the sheet "Inventory" in cells E5:AA5 with further headings down the sheet D6:D40.Data Validation drop down list is in cells E6:AA40.I want to be able to place a number 1 or number 2 in any cell in the range C6:C40 in the "inventory" sheet and with a macro create 2 new sheets.Sheet 1 will contain all the headings which had a 1 in any of the cells in the range C6:C40 and sheet 2 will have all the headings which had the number 2 from the range C6:40.Both sheets 1 & 2 will contain all the headings from "Inventory" sheet in cells E5:AA5.The data validation drop down list is not required in sheets 1 and 2 but if "inventory" sheet does get updated that it also updates sheet 1 and sheet 2.... Version i am using is Excel 2010

View 1 Replies View Related

Excel 2010 :: Maintain Different Headers For Different Sheets When Printing

Aug 23, 2013

Excel 2010. I have a workbook that has multiple sheets where some have headers and others do not. Some sheets are static in that no user input is required and others are dynamic so the toal number of pages per worksheet may vary based on how much information the user inputs.

An example:

Sheet 1 is static and requires no input, it does not have a header or a page number. For compliance reasons this sheet must be printed on top of all the other sheets in this policy

Sheet 2 is dynamic. This sheet can range from 2 pages to 5 pages depending on user input. This sheet must have page numbers starting with 1 and it must have a header on page 2 through the last page, but no header on page 1.

I am currently using a worksheet_activate sub to input data into the headers and footers of sheet 2. This works very well and puts the data where I want it to go just by using the "Different First Page" option in the headers design tab.

The problem arises when I select both sheets to print. Excel now thinks Sheet1 is the first page, so the first page of sheet 2 now has a header and the page number beings at 2 instead of 1.

Where I can stop this from happening?

Current sub:

Code:
Private Sub Worksheet_Activate()
' If WS is activated, place information in header
Application.ScreenUpdating = False
'Policy #

[Code] ..........

As I said, this works all well and good for when I'm just printing Sheet2 but when I have to print Sheet 1 & 2 together, it no longer prints the way it should. There are times when Sheet 2 will be the first page of the overall document but there are a few instances where it will be second to Sheet 1 and I run into this issue. Is there a way to specifically reference which headers/footers the code will input the data?

View 1 Replies View Related

Excel 2010 :: Multiple Sheets One Data Connection

Apr 8, 2014

I have a sheet that contains a Microsoft Query (SQL) data connection. In cell C3, I have the month name and I also have a year cell (C4), which contains just the year based on what the current month (=YEAR(TODAY())) is.

For this example let's use May (C3) and 2013 (C4)

C3 and C4 are used as parameters for the SQL query, so if I change the month to January and the Year to 2010, data is refreshed to bring in that data.

Works smashingly.

I then want to add 11 more sheets (12 total), so each sheet is a month. The value in cell C3 on each sheet will be the month name.

If I just copy this sheet 11 times, Excel adds 11 extra data connections; 1 for each sheet. As the query in each sheet needs to be exactly the same, I don't want this. I want the 12 sheets to use the same data connection, only with the specified parameters at the sheet level.

Otherwise, if I need to add or remove a column, or change a column name, rather than just doing it once, I'd have to do it 12 times.

This can't be right, surely, as that would be the most ridiculous design flaw I've ever seen in a piece of software. How can having the same query 12 times be a good thing?

I'm a bit concerned that googling 'excel data connections multiple sheets' always wants to be 'excel multiple data connections one sheet' - I want 'excel multiple sheets one data connection'

View 1 Replies View Related

Excel 2010 :: VBA - Convert Selected Ranges In Multiple Sheets Into One PDF

Feb 10, 2014

I'm using Excel 2010 and would like to know if it's possible to convert selected ranges in multiple sheets into one PDF file? For example, I want to select range("A1:O10) in Sheet1 and range("A1:N25") in Sheet2, then convert both Excel sheets into PDF file with two pages.

View 2 Replies View Related

Excel 2010 :: Running Total From Previous Sheets With Non-sequential Names?

Mar 27, 2014

formula to take a value from one sheet and add to it in Excel 2010? I'm naming the sheets but not necessarily numerically. I have done it by manually entering the sheet name but would like it to figure out the sheet name automatically based on where the sheet is located in the workbook. That way I can copy the current sheet, rename it and still have it update properly with a running total. Here is what I have now: =D7+'011514'!E7

View 2 Replies View Related

Programmatically Switching Between 2003 And 2007 Excel

Jul 25, 2013

I have both Excel 2003 and Excel 2007 installed on my computer, using VBA code is it possible to specify which version I open an excel document in?

View 2 Replies View Related

Excel 2010 :: Find Total Of Times Word Appears Across All Sheets In Column C?

Dec 19, 2013

I have a single work book with 8 sheets (I am using Excel 2010 BTW) and I am trying to find a total of times a word appears across all the sheets in column "C"

I found this formula on another thread. =SUM(COUNTIF(INDIRECT("Sheet"&{1,2,3}&"!C1:C1000"),"="&H3)) with an example. I made the changes that I needed for my purposes

This worked but only after I renamed the sheets to Sheet1, Sheet2, etc.

Is there a way get the same results from the above formula if all the sheets are named after our reps? Example: sheet1 is named Dan, Sheet2 is Nick, etc?

View 2 Replies View Related

Excel 2010 :: Compare 2 Columns In Different Sheets - Unique Values Output To 3rd Sheet

Feb 4, 2013

I'm trying to compile a VBA that would allow me to compare 2 columns "A" in different worksheets (same Workbook) and output any unique values to 3rd worksheet together with the rest of the values in the corresponding row.

Sheet1
A
B
C

[Code]....

Excel 2010

View 9 Replies View Related

Excel 2010 :: Runtime Error - Copy Method Of Sheets Class Failed

Nov 15, 2013

Trying to be slick with my macro I have 2 sheets collecting data in a workbook. I am attempting to send as attachments only those 2 sheets. I am getting an error at the following space within the code. How do I get around this?

Code:
Sub Send_to_Me()

' Send_to_Me Macro
Dim objTemp As Object
Dim FileExt As String
Dim TempFileName As String
Dim FileFullPath As String
Dim FileFormat As Variant

[Code] ......

This is the line that I get with the message above. It is only 2 sheets. Excel 2010 Windows 2007

View 2 Replies View Related

Show 2 Sheets In 1 Sheet (for Printing And Keeping Table Formats)

Jul 22, 2014

i want to ask if are some way to do it , to show 2 sheets in 1 sheet , because what i am trying to do is , with VBA copy table with pictures from database sheet to printing sheet , add blank columns and create another table in that blank area , and got this problem that formating goes crazy , because each table need different row heights. Maybe there is any way to copy my database sheet and paste special that it don't cares what i will do with row heights?

View 6 Replies View Related

Excel 2007 :: Macro Switching Formula Into RC Notation

Oct 17, 2011

I have a series of macros I have built to automate some report manipulation at my office. One of the macros I built inserts formulas into specific columns. When I run this macro, all the formulas, save one, are populated perfectly into the column they need to be in. This particular formula is swiched over to R1C1 Reference Notation.

In the workbook I built the macro in, it inserts the formula in the correct notation. When I run the macro in a different workbook, this one formula is converted to RC Notation and then is displayed as text (since the workbook is not set to the R1C1 Reference style option).

Is there a bug in my VBA code? If so, how can I correct this?

I use Excel 2007. Macros are saved in my Personal.xlsb workbook. All other forumlas populated by the macro work correctly.

View 5 Replies View Related

Linking 3 Sheets To Summary Sheet Keeping Track And Totals Of Categories

Jul 22, 2014

I have a spread sheet for my checking accounts. There are 3 sheets, BW, QW, and Chase CC. In the 1st 2 sheets row D is named "Category" and the 3rd sheet has the same name but is in column C.

How to link the 3 sheets to a summary sheet keeping track and totals of the categories ?

Example in sheet BW I have a category called "Utilities" and the column to the right of that is the amount. Then ect for other categories.

View 2 Replies View Related

Switching Info Around In The Same Cell?

May 21, 2014

I have names in cells in this format.

Smith John

I would like to switch that around so the name in the cell looks like this

John Smith

Is there an easy way to do this?

View 6 Replies View Related







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