Hide Userform1 Tabs
Apr 5, 2007
Im creating a userform, i have two choices, when a combobox event changes, a second form loads, thats fine, but would it not be more efficient if i were to have hidden tabs on the main form? if so - can anyone advise how i can hide the tab/tabs until the combobox event is triggered.
My "main" aim is to have a VERY quick and slick user interface.
If required i can upload the code - just shout.
View 5 Replies
ADVERTISEMENT
Mar 23, 2009
I have a "master" tab that has a dropdown menu (via a validation list) which will determine what the spreadsheet does. Based on the value selected via this dropdown, I would like to show the relevant tabs and hide the irrelevant tabs. I would prefer for this to happen automatically without a macro.
View 5 Replies
View Related
Dec 11, 2011
I am looking for a way to hide and unhide tabs. The first sheet of the workbook is an information sheet and I have a dropdown box in cell N3 to select Yes or NO to correct financial issues. If I select NO I would like to also hide tabs for sheet 4 and sheet 22.
I have used this for hiding rows:
If ActiveSheet.Cells(2, 2).Value = 0 Then Rows(146).Hidden = True
Can this be adapted to hide tabs?
View 8 Replies
View Related
Apr 21, 2008
I was wondering if it is possible to hide workbook tabs according to cell value?
Take for instance, if cell B30 in sheet "Fee Schedule Finder" is blank then the sheet "ES Schedule" is hidden. I know it would be some sort of VBA code but I am lost on this one.
If I didn't explain well enough please let me know!
View 9 Replies
View Related
Mar 16, 2007
I've done a search for this but cant find the complete answer for what I'm looking for. Basically I've got a "Home Sheet" set-up where the user can only navigate to worksheets via the buttons on the home page (with a short- cut to go back to the home page). It works ok (very basic though) but the user can still use the worksheet tabs at the bottom of the screen to navigate (making this system void).
how I can, either, hide the worksheet tabs at the bottom of excel, or, a better way of navigating these worksheets (there is only about 6 of them).
View 2 Replies
View Related
Jul 16, 2014
knew if there was a way to hide the available tabs in an excel worksheet.
I know you may be thinking just right click and hide, however what I am looking for is a little different.
Basically I have a Macro Enabled work sheet which works on a "one click" system. The work sheet is full of buttons with assigned macros and data validation drop down boxes which link to many different tabs. The entire sheet is for information only so I will be locking the sheets to avoid data manipulation. The problem with right clicking and hiding the tabs is that it interfears with the macros.
All I really want to do is make these tabs not visible. I have set the sheet to open in full screen mode and they obviously are still there, but this is basically what I am looking to do. Not so much hide them in terms of sending them into the background, more so make them "drop off" the bottom of the screen to they are still active but not visible.
View 6 Replies
View Related
Jan 29, 2014
I am trying to find a library with vb/macros that can hide and unhide all worksheet tabs except one, the formula, and the menu bar.
View 1 Replies
View Related
Jul 28, 2009
I have about a dozen tabs, all of which have vlookups in them and calculate based on what a user pastes into Sheet 1. I need a macro that hides all tabs that have no data, essentially tabs where A1 = ""
However, it also needs to unhide tabs as soon as there is data. So if the user pastes new data into Sheet 1 the vlookups, on the other sheets, still need to run (even if they are hidden) and then check against the macro to determine whether to be hidden or unhidden.
View 3 Replies
View Related
Aug 7, 2008
Is it possible to hide specific worksheet tabs.
I have a workbook with many worksheets and I only want to hide Sheet1 and Sheet2.
View 9 Replies
View Related
Nov 19, 2009
I have looked through alot of this board and see the codes to hide all tabs old and new and code for each sheet.
My question is:
Is there a macro that can be used to do this as well. Say a button to hide all tabs and a button to show all tabs or does it only hide/show when the workbook is re-opened?
View 9 Replies
View Related
Jun 28, 2006
Does anyone know of a way with VBA to hide the tabs when saving excel as a web page?
View 7 Replies
View Related
Jun 10, 2014
I have tabs within my workbook that are pulling from other tabs in the same workbook. There are 30-40 tabs, and only 10-15 are used at a time. Is there a way to hide tabs that are not being used? If I do a calculation in A1 and it's greater than 0, I'd like the tab that is pulling from A1 to be visible. If A1 is 0, then I'd like to hide it.
View 14 Replies
View Related
Jul 10, 2014
I have nearly finished my project, but need to make the last real bit of code, then just some general tidying up.
What I want to do
- I currently have two tabs in a userform - one called 'main' and one called 'extra'.
- I want Main to always be shown to the user.
- I want Extra to be hidden (is it possible to make the tabs invisible?) and for this form to be shown only under a specific condition
I have a question on my userform (using Option Buttons):
"Did the customer ask about an extra product today?"
If the answer to this question is no - When the user hits the command button (after filling out the rest of the form), do nothing special - just return all the values to the worksheet
If the answer is yes - When the user hits the command button, I want them to be taken to the 'extra' tab. They will fill out some additional check-boxes, then hit another command box, which will return the info from both the 'main' and 'extra' sheets into the same row of the worksheet.
In brief: I want my 'extra' tab to be hidden, only to appear when 'yes' is selected, and for the results all to go back to the worksheet.
View 6 Replies
View Related
May 17, 2013
i need a code to hide the sheets tab from the workbook. and only show the horizontal scroll bar and vertical scroll bar.
View 1 Replies
View Related
Jun 23, 2014
I need to select all yellow tabs (color code 6) in a workbook with over 70 tabs and hide all empty rows within A1:I36 on each of these yellow tabs. the position of the tabs needs to be unchanged (sorting by tab color not allowed). I got this code from another excel forum but somehow it only works when i select one yellow tab and run it and the code only works on the one yellow tab i selected. can fix this code so that it can loop through all tabs (yellow and non color) and do what i mentioned above for each yellow tab?
Sub HideMT()
Dim Ws As Worksheet
Dim wsColor As Long
[Code].....
View 2 Replies
View Related
Apr 27, 2006
Sub Thanks()
With UserForm1
.TextBox1 = "1111111111111"
.TextBox2= "BBBBBBBBBBBB"
.TextBox3= "Tres"
.TextBox4 = "44444444444444"
.TextBox5 = "Five"
.TextBox5.SetFocus '''''''''''''''''''''''''''''''''''''''''''
.TextBox6 = "666666666"
.Show
End With
End Sub
is there a way to highlight the content of the TextBox5 when Showing the Userform?
View 3 Replies
View Related
Nov 11, 2009
I have a small userform (FormA) with two text boxes, a combobox, a help button, and an "OK" button. When clicked, the help button launches another userform (Form B), containing a text message and a "Close" button.
When I enter data into Form A, then click the Help Button to read what's on Form B, then close Form B, the data I had entered into the text boxes and combo box on Form A are deleted.
I've tried fussing with the modality, but that's not changing anything. I know I could write the text into a variable, then re-display it when Form B is closed, but that seems like a little (very little) extraneous stuff in an already bloated program.
View 4 Replies
View Related
Mar 17, 2009
I have created a combo box in a userform called combobox1 and userform1
I have also created 2 command buttons called Go and cancel
below is the code for the combo box.
View 3 Replies
View Related
Jun 13, 2013
I have two userforms with a label which displays CompetitorID. I want to transfer content (displayvalue) from UF1.label to UF2.Label. I know labels don't have a value property but want to simply know if it can be done as presently I'm getting run time error 380, can't set property value.
VB : HeadEntryForm.lbCompID = Me.lbCompID ' trf selected competitor ID to ID field on HeadEntryForm
View 3 Replies
View Related
Sep 22, 2012
I have been trying to get Excel (2007) to change the colour of tabs to match other tabs in the workbook
Using this code I get the colour code of the current tab
Code:
x = ActiveSheet.Tab.ColorIndex
But when I use this value in a procedure like this:
Code:
ActiveSheet.Tab.ColorIndex = x
The tab is a different colour!
View 3 Replies
View Related
Oct 12, 2009
I have a summary page that includes the titles for each tab within the excel 2003 workbook. I want to use the names of the tabs in the summary page and create it into a formula to lookup fixed cells within the various tabs. Sorry for not uploading an excel doc but I was at work earlier and the thread did not load for some reason, so I am reposting it.
View 3 Replies
View Related
Jun 25, 2008
I'm using Excel '03SP2 on Win 2000sp4. I believe I have a case where old tabs originally written in Excel ' 97 behave differently than new tabs in the same workbook, which is saved in 2003 format.
Specifically, the formula ="PLAN" & budyr-1 where budyr is a named range on a different tab containing 2008 . This formula yields PLAN 2007 on a new tab and #VALUE! on an old tab.
How do I get Excel to update the old tabs so that they behave as Excel 2003 tabs?
View 8 Replies
View Related
Jun 18, 2009
I want to create a macro that checks whether a specified range of columns is hidden, and
a) hide them if they are not hidden, or
b) unhide them if they are hidden,
i.e. toggle the Hide state.
What method can I use to query the hidden state of a selected range of columns and return a boolean value?
View 2 Replies
View Related
May 26, 2014
I have a macro in which i can enter the rows i want to hide.
If i want to hide "position 32" i have to enter the number 8 of the row. This works fine. But now if i want to hide the "position 32" from Sheet1 it also should hide the rows 4-8 from Sheet2 [Data with 32].
Or if i hide "position 34" in Sheet1 [row 10] it also should hide the rows 14-18 in Sheet2.
View 14 Replies
View Related
Jun 9, 2013
Sub Button294_Click()
If Sheet1.Range("A34:A94") = "HIDE" Then
For Each cell In Range("A27:A94")
If UCase(cell.Value) = "HIDE" Then
cell.EntireRow.Hidden = True
End If
End Sub
View 4 Replies
View Related
Nov 22, 2006
I am filtering the data displayed in a chart by hiding columns. I would also like to filter the X-Axis labels by hiding columns. If I do this manually I have no problems but when I run the following macro the chart gives a reference error for the X-axis labels.
Sub ShowA2()
Application. ScreenUpdating = False
num = Sheets.Count
Sheets("X-Axis").Activate
Range(Columns(1), Columns(256)).Select
Selection.EntireColumn.Hidden = False
For a = 1 To 5
Sheets(num - a).Activate
If ActiveSheet.Name = "A2 Data" Then
Columns("A:Q").Select
Range("A10").Activate
Selection.EntireColumn.Hidden = False
Sheets("X-Axis").Activate
Columns("A:E").Select......................
View 3 Replies
View Related
Dec 12, 2013
If A1 is also found below A1 (A2,A3,etc) then "HIDE" otherwise "DON'T HIDE"
I want to create a formula which finds out if a value exists below it in the same column. I could then use a filter to remove rows contain the word "HIDE" which will leave me with only rows with DON't HIDE. Then Column A will only contain unique values.How would I create a formula like this?
View 5 Replies
View Related
Dec 22, 2009
Is there anyway to have tabs within tabs? Right now there are only two layers...workbooks and worksheets within workbooks (tabs). Is there anyway to have more than two layers?
So right now:
1) Workbook
a. Worksheet
b. Worksheet
Can we get to:
1) Workbook
a. Worksheet
i. ?
b. Worksheet
i. ?
ii. ?
No?
View 8 Replies
View Related
Jan 15, 2014
I am trying to run a VLookup across 19 tabs. The formula and result are below
=Vlookup(2255099,INDIRECT("'"&CENTERS&"!A5:R395""),13,0) returns a #VALUE
When I evaluate the formula, the result is:
=Vlookup(2255099,INDIRECT("'"&#VALUE&"!A5:R395""),13,0)
Does the #VALUE where CENTER was mean there is a problem with my Named Range?
View 8 Replies
View Related
Oct 13, 2008
Is there a way to group tabs? For instance, I have 3 tabs that go with one section and 3 with another and so forth. Is there a way to group them? Also, can you change their color?
View 3 Replies
View Related