• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. D

    cell protection but allow auto update of cell value

    Thank you for that, works great
  2. D

    cell protection but allow auto update of cell value

    Hello, Bit stuck on something that I think should be simple but can't find how to do it. I have a dashboard that I want to lock down so people can only use the scroll bar (form control) and the slicer. When I prevent users from selecting a cell, it also appears to prevent that cell's value...
  3. D

    run a macro on multiple sheets [SOLVED]

    So for example Sub MyMacro() Dim ws As Worksheet Application.ScreenUpdating = False Application.DisplayAlerts = False For Each ws In Worksheets If ws.Name Like "*Run" Then 'Your code here End If Next ws Application.ScreenUpdating = True Application.DisplayAlerts = True MsgBox...
  4. D

    run a macro on multiple sheets [SOLVED]

    You can loop though all the sheets in the macro. To select the sheets you want to use you could put an If statement or a Select in to look for something, i.e. the sheet name could end in the word 'Run' so the code would look for the word 'Run' at the end of the sheet name in all the sheets and...
  5. D

    how to visible label on a user form? [SOLVED]

    just a guess but would something like this work? Double click on the userform1 and paste this: Private Sub UserForm_Activate() Me.Label1.Visible = False Me.Label2.Visible = False Me.Label3.Visible = False Me.Label4.Visible = False Application.Wait Now + TimeValue("00:00:01")...
  6. D

    VBA Error: Run-time error '1004': Cannot change part of a merged cell.

    Try running the below just in case some are merged that you don't know about Sub UnmergeAllCells() Dim ws As Worksheet Application.ScreenUpdating = False Application.DisplayAlerts = False For Each ws In Worksheets ws.Cells.UnMerge Next ws Application.ScreenUpdating = True...
  7. D

    VBA Improvement [SOLVED]

    Thats very strange, all it is doing is changing a value of a cell. You could change [scrollValue] = 0 to Cells(4, 3).Value = 0
  8. D

    VBA Improvement [SOLVED]

    Have a look at my file see if it is the same: https://docs.google.com/file/d/0ByiZqUlQMjxhNXhYa0xBcVozOHM/edit?usp=sharing Basically all i am doing with [scrollValue] = 0 is setting the cell you have called scrollvalue to 0, thus setting the value of the scroll bar form to 0
  9. D

    VBA Improvement [SOLVED]

    Hmmm worked fine when i tried it on your example book. Did you just copy and paste the code? Does your workbook still have the same named range [scrollValue] as your example and is the scroll bar linked to that same named range?
  10. D

    Index And Match [SOLVED]

    Use this in A1 on Sheet 2 =INDEX(Sheet1!A:A,MATCH(C1,Sheet1!C:C,0),0)
  11. D

    VBA Improvement [SOLVED]

    try putting [scrollValue] = 0 at the end of your select: Private Sub Worksheet_Change(ByVal Target As Range) 'On Error GoTo Exitsub Dim shp As Shape Select Case Target.Address Case Me.Range("KeyWord").Address Set shp = Me.Shapes("ScrollResults") With shp If...
  12. D

    rounddown value [SOLVED]

    Assuming your value of 3.77 is in A1 =FLOOR(A1,0.5)
  13. D

    VBA - Show macro progression (no loop on the code)

    To the original question: You can do something like this: http://support.microsoft.com/kb/211736 However rather than updating the progress bar in a loop 'PctDone = Counter / (RowMax * ColMax)', just write: PctDone =0 PctDone =0.25 PctDone =0.5 PctDone =0.75 PctDone =1 etc at various...
  14. D

    total row table

    Or do you want to put a function in a cell and in another cell state what that function is? i.e. in A10 "=Sum(A1:A9)" Result in B10 "SUM"
  15. D

    Excel Sheet for Comparison of 2 Commodities

    Could you please upload your current workbook? Thank you
  16. D

    Excel Sheet for Comparison of 2 Commodities

    These may help you: http://chandoo.org/wp/2009/03/04/japanese-candlestick-chart-excel-tutorial/ http://chandoo.org/wp/2009/05/28/intraday-candlestick-charting/ http://www.officetooltips.com/excel/tips/creating_a_candlestick_stock_chart_with_volume.html
  17. D

    Excel Sheet for Comparison of 2 Commodities

    Could you post a sample file? Please refer to: http://chandoo.org/forums/topic/posting-a-sample-workbook
  18. D

    autofill formula to bottom of column

    Double click the little + that you use for dragging down
  19. D

    calculation of age in vba [SOLVED]

    Works a charm Deb, as usual. Congratulations on the Ninja title by the way.
  20. D

    calculation of age in vba [SOLVED]

    Hi Hui I know the post is now marked as solved, but I like to read though them and try peoples answers out. The last one you provided wouldn't quite work for me: =TEXT(TODAY()-E6,"yy ""Years"" mm ""Months"" dd ""Days""") Against a date of "09/07/1983" (UK format) gave me "29 Years 12...
  21. D

    Excel Sheet for Comparison of 2 Commodities

    You can import data from a web query: Excel 2003: Data - Import External Data - New Web Query Excel 2010: Data Ribbon - From Web - Import data from a Web page You then navigate to the site which has the live data, select the table of data This will then link int your workbook, you can...
  22. D

    Workload Tracker

    This might help http://chandoo.org/wp/2009/10/06/project-status-dashboard/
  23. D

    How to Look up Based on Multiple Conditions [SOLVED]

    Could you post an example of your data please? Thanks
  24. D

    Cash flows with depreciation.

    I'm going to have to use that on some of my staff
Back
Top