Easy Navigation To Specific Ranges Or Areas

Jul 1, 2008

I have a spreadsheet that lists values for different grid lines. On top of each set of data, I have labels each line "Line A", etc. I want to put in possibly a pull down menu at the top of the sheet that the user could use to jump to whichever line they were interested in viewing. For example, if the user needs data from Line L, they could select Line L from the drop down menu and the spreadsheet would jump down to that area.

View 7 Replies


ADVERTISEMENT

Easy Navigation Of Multiple Sheets

Oct 2, 2007

I have a workbook with over 100 worksheets (all worksheet tabs are named). Since the tabs are not sorted in a numerical order (they are grouped by departments hence the numerical tab order does not apply), can I search for a particular worksheet tab using a search function? The CTRL F function doesnt allow searching for worksheet tabs. At the moment, I have to go through the tab names in order to find one particular tab.

View 3 Replies View Related

Ranges As Filtered Areas

Sep 19, 2008

'Get all the sheets
'y = 3
Sheets(1).Select
Worksheets.Add
Sheets(1).Name = "OM Files"
For J = 2 To Sheets.Count
With Sheets(J).UsedRange
x = Sheets(J).Name
If x "xxx" Then
.Resize(.Rows.Count).Copy _
Sheets(1).Range("A65536").End(xlUp)(3)
End If
End With
Next
Application.DisplayAlerts = False

View 9 Replies View Related

Easy Way To Sum Every 6th Column

May 31, 2007

Is there an easy way to add every sixth column?

Example:
=A1+A6+A11+A16
Then
A2+A7+A12+A17

I am all the time doing something like this. Is there a formula or something of that nature that would sum every 6th cell down starting a a given point?

View 9 Replies View Related

Should Be Easy, Having Trouble

May 18, 2006

I'm having real trouble selecting a series of rows based on variables for the purpose of cutting them and pasting them elsewhere in the spreadsheet. For example, if this is my spreadsheet

row
2 I Hate
3 Bill
4 O'Reilly

I want my code to select the range of 2:4, cut them, and paste them elsewhere but I want 2:4 to be variables. For example

Fun = 2
Stuff = 4

Rows(Fun:Stuff).Select
Selection.Cut

But doing "Rows(Fun:Stuff).Select" does not work at all. If you do Rows(Fun).Select, this works to select Row 2, but I can not use the variables to select a range.

View 2 Replies View Related

Easy Row Delete With Code

Nov 24, 2006

This is the code I have so far:

Sheets("Oven Codes").Select
Rows("3:3").Select
Selection.Delete Shift:=xlUp
Sheets("Item Edit").Select
Range("I12:J12").Select
What I would like to do is have VB look to E1 to determine which row to delete. E1 could say 5 or 25.

View 9 Replies View Related

How To Freeze Specific Ranges In Formula All Together

Dec 12, 2013

I want to freeze the formulas (F4) in whole column in Microsoft Excel, Is it possible to freeze together, not to freeze one by one. I freeze it one by one but that's actually a pain when you have hundreds of formulas to freeze.

View 7 Replies View Related

Excel To Email Specific Ranges?

Jun 18, 2014

I'm trying to add a button with an assigned macro to email specific info from the active sheet and submit to the email address on the same sheet.

E4 would be the email subject and would include a generic text body but I would also like it to capture the data in cell D22 and include this below the generic email text body.

The To: email address is found in I14 and will require a CC from range Q14.

View 5 Replies View Related

Coordinate Specific Ranges Across Worksheets

Jan 24, 2008

I have a spreadsheet of several sheets, but 7 of them (Red, Orange, Yellow, Green, Blue, Purple, Black) are the guts of the file and where I make adjustments. The layout of these sheets is the same, there are several cells of data on each sheet that coordinate with data in the same cell on other sheets. The problem is the sheets are so big, when I change sheets I have to go find the data that was in the same cell (or close) to where I just was on a previous sheet. So for example if on “Red” I am in cell AX253 and I go to sheet “Yellow” I would like it if AX253 would be selected when I get there. And if I select a different cell like D56 on Yellow and pick Green then I want D56 to be automatically selected on Green.

In addition, I plan to use a check box on an eighth sheet called “White” to turn the feature on and off. I have never written code for a check box before.

Is this to terribly difficult to do? I did some searching and saw some code that was similar to this but could not get it to work.

View 3 Replies View Related

VBA Password Crack/Hack - How Easy Is It?

Dec 10, 2008

Ok, so I'm a little cheezed that I've been volun-told to give up an economic model that took me over 8 months to develop to a few investment bankers that will likely sell it to the highest bidder. Of course, with no credit to me.

I've already taken a few of the necessary steps to lock it down.

Examples:

- Lock/hidden cells along with sheet protection (with password) - to prevent viewers from seeing the formulas I used.

- protect workbook (with password) - to prevent copy/paste of the sheets

- VBA - Tools - VBA Project Properties - Protection - Set password - to prevent viewing of the macros

- Hiding sheets using "Very Hidden" in VBA - to prevent viewing of sheets in general.

I guess my real question is, when this is all said and done, how easy is it for someone to break through all the passwords that I've set up in the workbook? If it's ridiculously easy, how do I prevent it (if at all)? What else can I do?

View 10 Replies View Related

To Change All References In The Workbook Easy

Jan 8, 2009

I have many files that has a filepath references in the cell values, for example:

='\serverfolder1subfolder2[Filename.xls]Sheet'!$B$82

Is there a way to change all the references to direct to another place?

Filenames don't change, only the '\serverfolder1subfolder2 path

View 9 Replies View Related

Easy Time Entry Mask

Apr 25, 2008

I have entered VBA code and tested it with success. If I then save & close the excel file and then re-open it, the mask time entry is not saved (time does not appear correctly after input) and per instructions I have designated (and am using) the cell input range.

View 9 Replies View Related

Easy Way To Copy Columns And The Formulas To A New Sheet?

Nov 3, 2013

I was wondering if there was an easy way to copy columns (headings) and the formulas to a new sheet. I'm currently working on Sheet 1, need to copy everything onto a new sheet so I can keep things separated by week..

Example, Sheet 1 is Week October 30th, would like my 2nd sheet to have same exact headings and formulas which I would then rename to Week Nov. 1st etc..

Also, is there a way that I can then copy the 4 sheets that would make up a month into a new spreadsheet so I can then start December...

View 5 Replies View Related

Easy Weighted Average For Thousands Of Items

May 29, 2008

I am trying to calculate weighted average cost for a list of thousands of items.

I will try to explain this as best I can.

Column A is item. Column B is Mode. Column C is Volume. Column D is Cost

There are only 2 Transmode Per Item. So each item is pretty much listed twice and I need to calculate the weighted average cost per item.

I know how to use the SUMPRODUCT function to calculate weighted average and could slowly go through the spreadsheet item by item calculating this, but is there a way to do this with some sort of formula? Similar to a Subtotal that would recognize each change item and calculate the Weighted Average at that change.

View 9 Replies View Related

Deduct (percentage) Amounts Off Of Specific Quantity Ranges

Jun 9, 2014

how to deduct a percentage off of a range of units.

For example, if I have 100 units that cost $50, I'd like to deduct 20% off of the first 10 units, and then have the total dollar amount put into a separate cell.

So, 100 x $50 = $5000

With 20% off of the first 10 units: $4900.
__________________________

20% of $50 = $10

$10 x 10 units = $100

$5000 - $100 = $4900

View 1 Replies View Related

Average Data Between Two Date Ranges - Specific Hours

Aug 22, 2014

I would like to average data between 0600 and 2200 hours, between two date ranges, such as July 1st and July 31st.

Capture.JPG

View 3 Replies View Related

Calculating Numbers Of Specific Dates Within A List Of Ranges

Aug 30, 2007

One of the spreadsheets we have here keeps track of reservations booked in the following way.

FG
101/05/200801/08/2008
201/06/200801/09/2008
301/06/200801/07/2008
401/06/200801/06/2008

The date in F is the check in date and the date in Column G is the check out date.

There is another spreadsheet in the same workbook that counts the dates that these people are checked in.

For example:
AB
1
2JanuaryRooms Occupied
310
420
530
640
751
863
972
1081
119
1210
1311
1412

As you can see column B7 has one room because of the fact that the reservation check in of F1 started on the Fifth of January

B8 is Three because reservations 1-3 are checked in on the sixth of January

B9 is 2 because reservations 1-2 are checked in on the seventh of January

B10 is 1 because reservation 2 is checked in on the eighth of January

Please note that F4:G4 does not count on this worksheet due to the fact that they checked out on the same day as check in.

I would love any help you could give on this confusing subject.

View 9 Replies View Related

Easy Way To Collapse Rows And Columns On All Sheets In Workbook

Jan 28, 2014

Is there an easy way to collapse rows and columns on all sheets in a workbook.

View 3 Replies View Related

Send Data From UserForm Controls To Specific Cells/Ranges

Aug 30, 2006

I have been working on my spreadsheet for sometime now, so far when I run into a code problem I can figure it out using someone eles's post. However, I can't seem to figure this one out. I need to send data from a userform to specific cells on my spreadsheet based upon the users selection in combobox 1, and textbox 1.

Example: User selects customer name from Combobox1, and part number auto loads into textbox1 from the data sheet.

There are then 11 combobox's that can be clicked as the userform is updated. Once the user is finished, I need the answers from each combobox to transfer to the worksheet next to the referenced Combobox1 and textobox1.

I used the code that RoyUk posted to him, but have only been able to get the first combobox to copy to the sheet, the rest stay blank.

(Here is the code so far)

Private Sub CommandButton2_Click()
Dim ce As Range, srcRng As Range
Dim sYear As String, sMonth As String

sYear = UserForm3.ComboBox1.Text 'When combobox1 is loaded, use as reference#1
sMonth = UserForm3.TextBox1.Text 'When textbox1 is loades, use as reference #2
Set srcRng = Range("c2", Range("c65536").End(xlUp)) 'Search range on worksheet
For Each ce In srcRng

View 7 Replies View Related

Write Names Of Named Ranges Of Specific Sheet Into Array

May 21, 2008

I am trying to enter only the named ranges in the active worksheet into an Array.
The amount of named ranges can be from 4 to 7 per sheet.

I'm self taught at VB (This posts on this forum have taught me - thank you!) and have got the below code working on a Workbook - but not on a worksheet level.
ActiveSheet.Names.Count returns nothing, changing to ThisWorkBook.Names.Count returns the sum of all .Names in the workbook.

Sub aTest()
Dim sArray() As String
Dim sJoin As String
Dim y As Long

x = 1
y = ActiveSheet.Names.Count
z = ActiveSheet.Name

View 3 Replies View Related

How To Make Navigation GUI

Jan 23, 2014

I am created Financial Worksheets. . . ex. Balance Sheet, Income Statement, Cash Flows, Notes, Forecasted Sales Etc. and I want to make a GUI in-order to navigate easily. I already included Hyper Links to it for some detailed annexes.

View 4 Replies View Related

Internet Navigation

Jun 16, 2006

I am trying to edit the Copy menus so that they only paste values. I have the following code in the workbook object:

Private Sub Workbook_WindowActivate(ByVal Wn As Excel.Window)
Application. CommandBars("Edit").Controls.Item("Paste").OnAction = "New_paste"
Application.CommandBars(" Cell").Controls.Item("Paste").OnAction = "New_paste"
End Sub

Private Sub Workbook_WindowDeactivate(ByVal Wn As Excel.Window)
Application.CommandBars(1).Reset
End Sub

and this code in a module:.........

The module code is however bringing up an error message 'User-defined not defined' and I am not sure why.

View 2 Replies View Related

Convert Large Number Of Row Data Into Columns For Easy Printing

Mar 1, 2014

i was stuck with some mass data which spans over many rows and columns. i am relatively new to excel and wanted to know how i can get this data arranged in a way where i can access all the data from a printable view. i have attached a file explaining basically what i want.

View 5 Replies View Related

Show Worksheets Tabs On Current Worksheet For Easy Access

Jan 12, 2009

You could use:

If ActiveWorkbook.Sheets.Count < 17 Then
Application.CommandBars("Workbook tabs").ShowPopup
Else
Application.CommandBars("Workbook tabs").Controls("more Sheets...").Execute
End If

The code doesn't do anything on my excel workbook which currently has like 20 workbooks, and it grows daily by like 4 or 5 worksheets.

View 9 Replies View Related

Copying Specific Cell Ranges From A Worksheet Multiple Times To A New Sheet

Nov 9, 2009

I have a workbook with multiple worksheets. Each worksheet corresponds to a certain store fixture estimate. Ont these sheets I have a specific cell where you can input how many fixtures of that type are to be used.

On that sheet also, is a range of cells (ex. Range("A65:F3340")) that needs to be copied to a new summations sheet of total hours to build the project.

If sheet 1 has 1 fixture - the macro should copy the range of cells only once.
Sheet 2 has 4 fixtures - tha macro should copy the same range four times appending each set of data tot eh end of the previous, And so on for each fixture sheet.

View 3 Replies View Related

Loop Through Specific Ranges From All Sheets To Summarize Data In Report Sheet

Jul 1, 2012

i attached link to sample and its contains employee sheets and Report sheet ,and in Report sheet there is comment

[URL]

View 7 Replies View Related

Form: Textbox Navigation

Jul 4, 2009

I have a form set up with excel (2003) using vba. I'm doing a check to see if textbox1 is empty, if it is, a msgbox pops up with a warning that "textbox1 needs to be filled out". I click OK and the cursor goes to textbox2. I want the cursor to return to texbox1 without user intervention but can't figure out how. I'm using "Private Sub TextBox1_Exit(ByVal Cancel As MSForms.ReturnBoolean)".
I know it can be done because I did it with vba Access, but I can't seem to find it using vba Excel.

View 8 Replies View Related

Floating Navigation Window

Sep 9, 2009

I want to create a floating window in excel that can contain a series of macro buttons (12 total)

I'd like to see if this window can be opened with a hyperlink or a single macro button on a spread sheet.

View 11 Replies View Related

Next And Previous Navigation Buttons?

Apr 4, 2012

I would like to have a "PREVIOUS" navigation button in a workbook that goes back to the previously activated worksheet, which may or may not be physically the previous worksheet in the workbook. In other words, if I go from Sheet #1, to Sheet #3, to Sheet #5, I'd like to return to Sheet #3 from Sheet #5 (rather then navigating back to Sheet #4).

"Open VB editor and double click 'Thisworkbook' and paste this code in on the right:

Private Sub Workbook_SheetDeactivate(ByVal Sh As Object)
lastsheet = Sh.Name
End Sub

Then right click 'ThisWorkbook' and insert module and paste this code in

Public lastsheet As String
Sub Select_Last()
Sheets(lastsheet).Select
End Sub

Whenever a user changes sheets, the name of the last sheet is now held in the variable 'Lastsheet' so if you assign a shortcut or button to the code then the last used sheet will be selected."

My problem is that when I want to assign the macro, I can't find macro name that looks anything like the above in the drop down list of Macro Names. how to assign the macro to a button?

View 5 Replies View Related

Navigation Via Combo Boxes

Aug 23, 2005

I am trying to use the combo box feature to navigate between sheets. In other words, I have a dropdown menu at the top of each sheet ("Main Menu," "Goals," etc.) and am trying to work out a macro that directs the user to whichever sheet is selected. Is this possible?

View 9 Replies View Related







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