Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: pruleone
  • Content: Threads
  • Order by date
  1. pruleone

    DTpicker - excel VBA

    Hi Building some UserForms into excel and using also DTPicker component. As by default I saw today's date in field then googled and found way to set date field empty and "force" user to select proper date. Code I used: With Me.DTPicker1 .CustomFormat = " " .Format = dtpCustom End With]With...
  2. pruleone

    Excel: Compare two columns

    Does anyone know or have good idea how to make following comparison simpler than manually? Input data: V1 V2 V3 V4 V5 V6 E1 1 4 3 2 6 5 E3 2 1 3 4 5 6 Output table: V1 V2 V3 V4 V5 V6 V1 0 1 2 2 2 2 V2 1 0 1 1 2 2 V3 0 1 0 1 2 2 V4 0 1 1 0 2 2 V5 0 0 0 0 0 1 V6 0 0 0 0 1 0 Explanation: Logic...
  3. pruleone

    Goal Seek issus

    Hi one question about goal seek - some cases using simple goal seek command,it fails to find an answer / solution. Does someone has any idea how to overcome from that issue? Currently I just rounded expected result to nearest multiplier 10. So it works better than previously but of course it...
  4. pruleone

    Log calculation steps

    Hi I have starting number 0 and max number 3. After pressing Start system will start adding 0,25 until total sum is 3, then system stops working. Do to it, I used LOOP and as I didn't know how to do it simply I used following logic - Add 0,25 to into first cell Add 0,25 to next free cell...
  5. pruleone

    How to change text value to number?

    Hi I made one excel, where you can add data through pop-up window. Added data will be copied into excel sheet. After that I'm making some of calculations etc. Problem is that output from user-form is in text, so entered number 10.23 is text for excel and I can't use SUM formula to sum-up...
  6. pruleone

    Coping only cells with value?

    Hi I have VBA command: Private Sub CommandButton1_Click() Dim LR As Long Range("s3:s12").Copy LR = Range("t" & Rows.Count).End(xlUp).Row + 1 With Range("t" & LR) .PasteSpecial Paste:=xlPasteValues End With Application.CutCopyMode = False End Sub Problem is that in Range("s3:s12") I have also...
  7. pruleone

    VBA code to change Axis color

    Hi, trying to build VBA code to change legend(s) color after changes in worksheet. I have made following code but I received error - Run-time error '438' Object doesn't support this property or method. By pressing debug it shows that there is something wrong with lines With Selection.Border...
  8. pruleone

    Problem with VBA code under Excel 2007

    Hi, I made excel and VBA code under Excel 2003. Everything worked ok. Now I have excel 2007 and I have problem with one VBA code or one part from it. Code is: Public vartimer As Variant Const TimeOut = 200 Sub Salva1() Call update Call Tempo1 End Sub Sub Tempo1() vartimer =...
  9. pruleone

    Protecting excel worksheet

    Hi, I would like use VBA code to protect excel worksheet and same time give users option to format cells, columns, rows. I have recorded two different VBA codes but don't know how to merge them. Maybe someone can help? First code: ActiveSheet.Protect DrawingObjects:=True, Contents:=True...
  10. pruleone

    Different computer settings

    Hello, Different countries use different computer settings to seperate decimal points. Some country will use comma, some country point. Is there any possibility to force excel to understand what kind of setting user is using? I mean that I would like to insert to cell formula that if system...
  11. pruleone

    Formating cell (text + number + text)

    Hello (again :)), I have used this kind of formula =ROUND(H11;0)&" "&Sheet2!V7 Where H11 is number and Sheet2!v7 is some text line. (Also used so, that text is before number or even so that text is before and after number). This calculation will show me number and text in one cell, it is...
  12. pruleone

    Cell don't calculate

    Hello, I have such problem with excel that I do not even know how to look solution for it :) Problem is that I have wrote command - =IF('IX Suggestions'!$O$3=Sheet2!$B$3;$V$7;Sheet2!$V$6)&" in month" Everything did work ok, it did show correct answer and so on. But suddenly this commant...
  13. pruleone

    VBA code to autofit rows

    Hi, I tried to make a VBA code which would autofit all rows in worksheet. I wrote this kind of code: Private Sub Worksheet_Calculate() If Range("A3") = 1 Then Rows("3:3").Select Selection.Rows.autofit Range("A3").Select End If End Sub In worksheet A3 = B1 Problem is...
  14. pruleone

    Indirect and offset commands doesn't work together

    Hy, I use under validation command indrect command. It all works fine. basically i have =indirect(K1) K1 = If(L1=1;"One";if(L1=2;"Two";if(L1=3;"Three";""))) One = A3:A7 Two = B3:B6 Three = C3:C9 Now I decided to change this validation littlebit, so I inserted some assistance lines to use...
  15. pruleone

    Links update doesnät work every time

    Hy, I moved some of data out from main workbook. I linked data beatween two workbook simple way for A2=[workbook2]'Sheet1'!A2 Most of links work very good but some links wouldn't update data. I see just #NA. This error don't change even if I go under edit menu to link menu and update there...
  16. pruleone

    VBA code to change source data in excel chart

    Hi, I recorded with macro recorder VBA code wich will change data range in chart. Code is like this: ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.PlotArea.Select ActiveChart.SetSourceData Source:=Sheets("Sheet1").Range("B2:L5"), PlotBy:= _ xlRows...
  17. pruleone

    How to force closed excel workbook to make calculations?

    Hy, maybe anyone had somekind of problem and knows good solution :) Problem is that closed excel workbook doesn't to calculations. I moved calculations from one workbook to an other workbook because maybe in the future I need to make some changes in calculation sheets. As this main workbook...
  18. pruleone

    Change validation will run macro?

    Hy, is it possible to force macro run when I use validation in excel sheet?
  19. pruleone

    Update data between different excel workbook worksheets

    Hy, I mada e excel workbook, where I also inserted one other excel workbook sheets. Everything is noce but in other workbook will be data update once in month. Today I just moved (copyed) all that workbook sheets into my prime workbook. Right know I should once in a month update one sheet...
  20. pruleone

    VBA isn't hidden in protected workbook

    Hi, I have made excel workbook, where are lots of sheets and some macros also. I protected both sheets and workbook with password (I used different password just to make thing littlebit safer), so to make little harder to get hidden part of workbook. But, :), I use very much grouping and...

Part and Inventory Search

Back
Top