Tracking Changes Made To Worksheets On A Hidden Worksheet

Apr 8, 2008

I've developed a workbook that is designed to allow users to produce a list of aspects (one per worksheet) and edit them as the aspect changes. However, i would very much like to create a 'log' of changes. For example, everytime a cell is changed the cell reference, worksheet reference and date are added to a list on a hidden worksheet.

View 9 Replies


ADVERTISEMENT

Keep Hidden Sheet Made Visible As Active Sheet

Mar 2, 2007

I have a button on a sheet that runs a macro to unhide another sheet. That works, but I want the sheet made visible to remain forward. Instead, the button unhides the sheet and the sheet the button is on comes forward again. I am unable to figure how to keep the sheet made visible forward. Here is the macro 'as recorded'.

Sub UnhideSheet1()
Sheet2.Visible = True
End Sub

View 7 Replies View Related

Running Macro When Change Made To Worksheet

Feb 16, 2012

The intent of the code below is to run the marco HideCol when a change is made in cell C10. If I actually change the value in C10 it works. However, I have C10 linked to another worksheet (=anotherpage!A13). When the value changes, my macro is not executing.

Here is the code:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim changed As Range
Set changed = Range("C10")
If Not Intersect(Target, changed) Is Nothing Then
HideCol
End If
End Sub

View 3 Replies View Related

Can Hide Function Be Made Accessible In Locked Worksheet

Jan 5, 2014

I have a protected worksheet that is shared between 2 departments. Is there a way of making the hide/unhide function available without unprotecting the worksheet.

Macro would be the most obvious way but believe you can not share a workbook when a macro is incorporated.

View 2 Replies View Related

Set Textbox Control Source To Hidden Worksheet NOT Active Worksheet?

May 6, 2014

I have created an excel worksheet that will provide budgeting and estimating tools for my project managers. All data used to be manual entry and took a good while to complete. I am trying to automate the process with VBA.

I created a UserForm called InfoVerify1. On that form I have TextBox 1 - 10. When the UF opens, the boxes display project information from my worksheet called "Basis of Estimate", also known as Sheet26.

The TextBox1 ControlSource is set to "E4". When I run the macro with Sheet26 active, the proper information fills in. However, when I am on the Start page or any other worksheet and I run the macro, it tries to fill in the text boxes with E4, etc, from the active sheet. I tried changing the ControlSource to "Sheet26,E4" or any combo thereof with only error messages.

how to get it to refer to a cell on a particular worksheet and hold to that worksheet no matter which sheet I am on at the time I run the Userform?

View 3 Replies View Related

FInding A Value On Hidden Worksheets Using A Form

Nov 4, 2007

How would you search multiple hidden sheets named JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC Using a textbox to return a value to find on these multiple hidden sheets. The code must find Orange, Oranges Orange BLossom by typing in "Ora".

It then moves to the first value found on the first worsheet found and mekes it the active cell, asks with a msg box to find the next value and so on. This code works but it only finds the value on the sheet THAT userform was designed for in the sheet code page:

[code]
Private Sub CommandButton1_Click()
Dim ws As Worksheet
Dim MyValue, MyFindNext, FirstFound, LastFound
MyValue = Me.TextBox1
If Len(MyValue) = 0 Then Exit Sub

StartSearch:

On Error GoTo err_Trap
Cells.Find(What:=MyValue, After:=[A1], LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False).Activate
FirstFound = ActiveCell.Address
MyFindNext = vbYes
Do Until MyFindNext vbYes

View 9 Replies View Related

Macro To Delete Hidden Worksheets

Jul 11, 2008

It would be great of I could delete all but one of the hidden worksheets. It would be perfect if I could tell the macro not to delete one of the hidden worksheets (called "Test O2 and CO2"), but if that is too difficult, then just one to delete all the hidden sheets would be fine.

View 9 Replies View Related

Delete All Hidden Worksheets When Workbook Saved

Oct 15, 2008

I have working code to unhide specific worksheets from a large number of hidden worksheets and would like to be able to delete all the hidden sheets when the workbook is saved or maybe have a button to delete all the hidden (un-needed) worksheets beside the selection drop-down menu, so that only the selected sheets are saved.

View 4 Replies View Related

VBA Code For Printing Worksheets That Are Hidden From A Selection

Jan 19, 2013

I have a workbook with various pages that are all hidden except the main page, on the main page it allows users to select items froms drop down boxes that returns a figure to cell B7 on the selection page.

What i would like to do is press a command button and the hidden worksheet that relates to that figure in cell B7 opens which allows the users to print it then after printing or closing the workbook is hidden again.

View 4 Replies View Related

Opening Password Protected/hidden Worksheets By The Manager

Oct 4, 2007

I've looked through this wonderful sight and haven't found one close to my project. I am a bit rusty on VB programming. I am working on workbook that contains multiple worksheets. Each worksheet is hidden and is accessible with a login and password so that only a specific user can access. My question is: How do I modify this so that the manager can open the workbook and view ALL worksheets without having to enter the login name and password for all of his users? Any help would be great. Thank you!!

Below is what I have so far: ....

View 9 Replies View Related

Export Hidden Worksheet To PDF?

May 2, 2014

I'm able to export hidden worksheet to PDF. Currently, I have the follow code below which will export active worksheet.

Code:
With Worksheets("ExportTable")
.ExportAsFixedFormat Type:=xlTypePDF, Filename:=PdfFile, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas:=False, OpenAfterPublish:=True

After I hide the tab, when I tried to export it. I have an error message of "Invalid argument". I should use another type of code to export hidden tabs.

View 3 Replies View Related

Protect A Hidden Worksheet

Jun 10, 2005

Is it possible to protect a hidden worksheet. I do not want them to be able to unhide the sheet unless they know a password to do so.

View 9 Replies View Related

Hidden Rows In Protected Worksheet?

Jul 21, 2014

I was able to create a macro that allows a user to unhide rows in a protected worksheet without unprotecting the other locked fields (see below). My question is: I want to add to this command so that 1 row can not be "unhidden" if the previous row is still hidden. For example, row 25 can not be unhidden if row 24 is still hidden.

Macro command used:

Private Sub Commandbutton4_Click()
Sub Hide_Rows2h()
ActiveSheet.Unprotect Password:="xxx"
Rows("25").Hidden = Not Rows("25").Hidden
ActiveSheet.Protect Password:="xxx"

View 3 Replies View Related

Insert Rows On Hidden Worksheet

Mar 23, 2009

My workbook contains 10 worksheets. Some users will use all 10 worksheets; some will use only 5 worksheets. If a user is not using a worksheet, I would like to hide it but leave it in the workbook.

However, I want to keep all workbooks in sync even though a user may choose to not use a particular worksheet. When my macros encounter a hidden worksheet, they stall. Does coding exist that allows a Macro to run on a hidden worksheet without making the worksheet visible?

View 2 Replies View Related

Find Hidden Data In Worksheet

Jul 6, 2006

Excel 2003. Windows XP Professional. Bank reconciliations. How is it possible in an unprotected worksheet to hide additional data input in formulas so that visible invalid numbers produce accurate results? Displaying hidden formulas in formula bar reveals nothing. Blank cells have been included in formula, but searches for hidden numbers and links in these cells produced nothing. I'm at my wit's end to correct this misuse of Excel in my office.

View 14 Replies View Related

Open The Hidden Worksheet When Clicked

May 2, 2006

1) I cannot figure out how to write VBA so the "Show Results" button will open the hidden worksheet when clicked.

2) When I use the userform to add new info, it does save to the worksheet, but when I cose the userform and try to open the spreadsheet, I get the following message, "Userform is already opened. Reopening will cause any changes to be disguarded". If I answer yes, I lose my changes, if I answer no, the changes are saved. I want this message to go away and data from the userform to automatically be added to the spreadsheet.

3) I want to make sure the "Account Number" field has a 9 digit number in it before it can be saved. If there is not a 9 digit number I would like an error message saying "Please enter a 9 digit account number" as a pop up.

4) I want to make sure both the "Account Number" and the "Assignment" fields have been populated before the data can be saved.

View 9 Replies View Related

Hidden Worksheet Macro Not Working

Jun 26, 2006

saw the other posts about hidden worksheets and couldn't get my makro to work. The macro works fine when the sheet in question is not hidden but when it is or when I tried to solve it with

Sheets(" total").visible = True
.
.
.
Sheets("total").Visible = False

Why could this be? The problem only occurs when the sheet is hidden or when code like the above are used, what could be done to fix the problem.

View 9 Replies View Related

Toggle Worksheet Hidden Status

Mar 2, 2007

I have a button on a sheet that I want to unhide another sheet, but if this other sheet is already visible then I want this same button to hide it.

Here is what I tried and it does work except it runs all the IF's instead of stoping at THE IF that matches the condition.

Sub HideUnhide()

If Sheet2.Visible = xlSheetHidden Then
Sheet2.Visible = True
End If
If Sheet2.Visible = xlSheetVeryHidden Then
Sheet2.Visible = True
End If
If Sheet2.Visible = xlSheetVisible Then
Sheet2.Visible = False
End If
End Sub

View 9 Replies View Related

Prevent Referencing Hidden Worksheet

Jun 3, 2008

I have a spreadsheet which I'm using as a log-in front for a series of other workbooks. The usernames and passwords are stored hidden cells within a "very hidden" worksheet. The workbook is protected and VBA code itself is password protected.

In short no-one can directly view the passwords (unless the password to unprotect it all is known.

What I have found is that someone can use a formula to reference the cells containing the user details. "=a1" for example.

Is the a method hiding the contents of a cell from excel itself? I want the vba script to be able to see the value, but any "=a1" formulas to return a blank.

View 8 Replies View Related

Hidden Info When Copy A Worksheet From One Workbook To Another?

Aug 8, 2014

I need to create a new excel template for work. I was planning to copy a few worksheets from an old workbook over into the new workbook, mostly just for formatting for some graphs/tables that I would then link to the new workbook. A coworker said I cannot do this as copying from an old workbook will bring in "hidden" data that could some way impact the integrity of the new workbook and that the copied/old worksheet would FOREVER be linked to the new workbook no matter what I do. Is this true? If so, are there things I can do to remove any reliance to the old workbook.

View 1 Replies View Related

Copy Worksheet That Is Hidden And Rename It Using A Userfom

Feb 16, 2009

I asked for a macro that copy an worksheet and rename it using a userfom!
I received the xls file attached to this mail !
In this xls when I click "Click me to copy s0 sheet and rename it" from final sheet, a userform appear, I type a name there and when I press ok I will have a copy of worksheet "s0" with the name typed in the userform.
If I click on "Click me to copy s0 sheet and rename it" I can create as many copies as I need.

But if I hide worksheet "s0" (using Format /Sheet/Hide) the macro will not work.
I modified the code from module 1 adding the red

View 6 Replies View Related

Macro To Go To A Hidden Worksheet. Good/Bad Idea?

Feb 22, 2010

I have an excel document displaying graphs that i would like to link to from a menu page (via a number of buttons). The problem is that i have about 12 of these graph sheets (along with 8 other sheets) and i'd rather not have them cluttering up the worksheet tabs list at the bottom of the screen.

Does anyone have any suggestions about how to handle this? Is a macro to open a hidden sheet and then close it once it is navigated away from a reasonable option? Or does Excel protocol suggest that they should remain visible, despite their cluttering..

View 6 Replies View Related

Access/read Data From A Hidden WorkSheet

May 19, 2006

I'm trying to access/read data from a hidden WorkSheet in Excel 2003 using:

Application.Worksheets("Hidden Sheet").Activate
With ActiveSheet
**** Data ****
End With

The accessed **** Data **** refers to another ('unhidden') WorkSheet. How can I read the data without making the WorkSheet visible to the User?

View 4 Replies View Related

Auto Select 1st Non-Hidden Sheet/Worksheet

Oct 22, 2006

I use "ActiveWindow.ScrollWorkbookTabs Position:=xlFirst" to display all available sheets in a workbook. But can the worksheet of the first tab (i.e. at the far left) be automatically selected after the workbook is opened?

View 6 Replies View Related

Format All Cells In All Sheets To Protection Hidden On Visible And Hidden Tabs

Feb 28, 2014

I am trying to format all cells on all sheets (hidden or otherwise) as "Locked" so when the sheets are protected the user can't see the formulas. This macro individually selects every sheet in the book and applys the formatting. Is there a way to modify this code to accomplish the same thing without having it actually select every sheet? The only reason it is an issue is that after running the macro you end up on the last sheet in the book.

View 7 Replies View Related

Workbook Copying (all Hidden, Unhidden, And Very Hidden)

Jun 30, 2007

im looking for a basic macro for workbook copying, all workbook(all hidden, unhidden, and very hidden) sheets.

i know how to do unhidden sheets of course however the hidden and very hidden are giving me some trouble...i need to also copy over all the macro's, buttons, and drop down box's as well..not just values.

View 4 Replies View Related

On Each Worksheet Is An Email Address "hidden" In J2

Jul 2, 2008

I have a workbook with multiple worksheets. On each worksheet is an email address "hidden" in J2.

I need a piece of code that will cycle through every sheet, and email the sheet, to the recipient listed in J2. If no address, it will bypass, and go to the next sheet.

I will also need a predefined Subject on each sheet of "Weekly Sales Targets".

View 9 Replies View Related

Copy Between Worksheets Doesn't Work (look For A Certain Value In Worksheet A And Copy That Row Of Data To Worksheet B)

Apr 13, 2009

look for a certain value in worksheet A and copy that row of data to Worksheet B.

However, it seems to be only copying the row in worksheet A and pasting it. Is there something that a noob VBA scripter has missed out?

PHP Private Sub GetInfo_Click()
    Dim r As Long, LastRow As Long, Status As Integer
    Dim Message As String, Title As String, Default As String, MyValue As String
    Application.ScreenUpdating = False
    
    MyValue = Range("A4").Value
    Workbooks("invoice.xls").Worksheets("A").Activate
    LastRow = Range("C65536").End(xlUp).Row
    For r = LastRow To 1 Step -1
        If Cells(r, 1).Value = MyValue Then
            Rows(r).EntireRow.Copy
            Workbooks("invoice.xls").Worksheets("B").Activate
            Rows("8").Select
            Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
        :=False, Transpose:=False
            Status = 1
            Workbooks("invoice.xls").Worksheets("A").Activate
            Rows(r).EntireRow.Delete
            
            Exit For
        End If
    Next r
    Application.ScreenUpdating = True 

View 2 Replies View Related

Consolidate Different Worksheets Into One Worksheet

Jul 23, 2006

I'm using a workbook containing a worksheet for each month of the year. I want to consolidate all the data from the different worksheets into one worksheet to enable data manipulation by means of a pivot table. Updates in the individual worksheets must be automatically updated in the consolidated worksheet.

View 4 Replies View Related

Multiple Worksheets VS 1 Worksheet

Aug 2, 2007

I now have 1 workbook with 3 worksheets. Each of the worksheets has a list of clients (currently about 130) and then several years worth of data. For each work sheet the first 4 columns are identical (last name, first name, med record number, DOB) and then a different set of longitudinal data.

I need to be able to add new clients and their basic demographic info and have the names show up on all the worksheets in the same alphabetical order. I could then add the data on the appropriate worksheet as collected.

I can send the workbook if you need it, but would first need to remove all identifiable information.

View 3 Replies View Related







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