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 SkipVought 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: *

  1. Nareik

    Excel: Save To Desktop As Default

    You may be able to trackdown the current user paths using one of the environment variables. USe something like this to discover the correct variable Sub PrintLocalSettings() Dim I As Integer I = 1 Debug.Print "Local Settings in force are:" While Environ(I) > ""...
  2. Nareik

    Excel linked sheets

    The =SUMPRODUCT() command should work here. Something like this will work in E2 =SUMPRODUCT(INT(E1='Maze 1'!$A$2:$F$2), 'Maze 1'!$A$3:$F$3) This formula should work for the whole of column E, you will need to update the 'maze 1' refernce for the other columns. It is possible to do this...
  3. Nareik

    Cell reference error in Excel

    Instead of deleting the data in 'Month', use the option 'clear contents'. (From the edit menu) Deleting the cells can oftentimes screw up formula cell references as the reference to the formual is being deleted, therefore the #ref error. Kieran
  4. Nareik

    Auto date entry in Excel - how?

    If you enter dd/mm in the cell, excel will assume the current year for you when it displays the date. Anything more than this default behaviour will require a macro. A macro like this could be done, but it seems to be overkill when all you need to do is enter the additional month. Kieran
  5. Nareik

    Default Excel Template

    As explained in http://www.wopr.com/cgi-bin/w3t/showflat.pl?Cat=&Board=xl&Number=96294&page=&view=&sb=&o=&vc=1 If you have templates called Book.xlt and Sheet.xlt in the XLStart directory, they should provide the default settings without the need for VBA or macros at all. If the book does not...
  6. Nareik

    Format "1" as "one" in Excel, etc.

    I use the following function. It needs to be added to a module within the workbook or your personal.xls file (i it exists) 'Here is what I use, it works for up to Sextllions. It will also give you something like 'Three Hundred Thirty Dollars and Sixty Seven Cents if you pass it the optional...
  7. Nareik

    right justify text

    ctrl-r will apply right justification.
  8. Nareik

    Pad zero to left of [h]:mm:ss cells if no number already present

    Try this additional step, it may make my previous advice redundant. Look at Tools>options>view>display zero values checkbox. Ensure that the checkbox is set. That may toggle the view if there is 0 in the cell. If the cells is empty, I cannot find an immediate soultion other than filling those...
  9. Nareik

    Pad zero to left of [h]:mm:ss cells if no number already present

    Try [hh]:mm:ss. It will give you two zero's, but it may suffice
  10. Nareik

    picture in excel

    try this Option Explicit Function MYPIC(source As Range) As Object Dim PATH As String Dim FILE As String FILE = source.Value PATH = "X:\PICTURES\" & FILE & ".JPG" ActiveSheet.Shapes.AddPicture PATH, True, True, 100...
  11. Nareik

    How can I make a popup in excel to filter external data ?

    If you customise the query to take parameters, you can specify the parameters in excel and then query the external data. Do this by creating the query in MS Query with the parameters. Then run the query form excel, right click in the returned data and select parameters. You should be able to...
  12. Nareik

    Calculate yes

    Use the =countif(....) function. Help describes it quite well.
  13. Nareik

    Excel error - retry, yes or no!

    Without knowing the finer details of your process I can only suggest that you use the application.enableevents= false before you load the data then use your code to trap for the error, then set a timer to repeat the load after a one minute interval. Don't forget to set application.enableevents...
  14. Nareik

    Assign star sign to date entered

    Are you using word, Access, Excel. If access/excel I would suggest you create a list of all the possible dates in a year (only 366) do a lookup based on the day/month. If you are in word, I can't suggest anything off-hand other thtn use access/excel.
  15. Nareik

    COMPARING & FLAGGING

    Try a formula like =if(a24-b24=0, "X","") This assumes that the data starts in cell a24. Enter the formula in c24 and copy down for the lenght of the list.
  16. Nareik

    Using Nested If in Excel

    this is untested, but 'should work' =AE7+($AH7=1)* ($AF7+($AK7=1) * ($AI7+($AN7=1) * ($AL7+($AQ7=1) *( $AO7+($AT7=1) * ($AR7+($AW7=1) * ($AU7+($AZ7=1) * $AX7)))))) It relies on the fact that the test xxx=1 will return either 0 (false) or 1 (true). It is an implicit if statement I suppose...
  17. Nareik

    HELP ASAP Word, footer

    You can use the if field to do some thing like {if {page} <> {numpages} &quot;more..&quot; &quot;&quot;} You will need to use the insert field function for the if, page and numpages field as the &quot;{}&quot; are not able to be pasted.
  18. Nareik

    Can you have a Work button in Excel like you can in Word?

    I have seen it doen with an add-in crated by Ian Sharpe. I have customised it a bit, but the following work is basically his. I have not used it for some time, but I beleive that it is workable, however to remove an itme still requires that you use the toolbar customeise command I think, THe...
  19. Nareik

    Alternative to vlookup or sum array in order to speed up calculation

    It involves a little bit of set up, but have yo thought about pivot tables. Data entery will not involve any recalculation, however everytime you want to review the results, you will need to refresh the pivot table.
  20. Nareik

    Merge and Purge

    Excel solution This set of prcedures will analyse the range and identify duplicate unique records. ' CHuckwick - For your purposes call the suproutine DUpStatPaste with rngIn as the consodidated list. If you leave a blank row at the top of the list, set the Headings parameter to true. Appended...

Part and Inventory Search

Back
Top