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 Mike Lewis 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. mrtauntaun

    Excel Pivot Table Drill Down Font Size

    That is just a brilliant piece of code. Thanks Skip!
  2. mrtauntaun

    Excel Pivot Table Drill Down Font Size

    How can I make a macro fire when I double click for the drill down? I tried recording a macro to try and replicate it, but I don't know how to trigger it.
  3. mrtauntaun

    Excel Pivot Table Drill Down Font Size

    I love pivot tables. I love the option where if you double click in one of the cells it drills down to show you records. My question is, how do I change the font size of the records you see from the drill down? I have a lot of data there, and I want to make it smaller so more fits on the...
  4. mrtauntaun

    Query results with semi-colons in them

    I am importing an excel spreadsheet every month into one of my DBs. One of the fields can (but not always, and not even frequently) contain data with multiple values. These values are user IDs and are seperated by a semicolon. I need to analyze each of these IDs individually, but when I run...
  5. mrtauntaun

    Compact a database with VBA code

    Hi all. I have a long macro (running from excel) that runs every night running a variety of reports out of an access database for me. The last thing I want the database to do is to compact. I know there is a command line you can use with the /compact option, but I can't figure out how to run...
  6. mrtauntaun

    VBA command to fill an excel row with a color

    Also, this spreadsheet will be generated daily, based on a criteria of code. So I can't set it every day by hand, which is why I wanted to use code. Is there a VBA alternative?
  7. mrtauntaun

    VBA command to fill an excel row with a color

    That's cool. To take this a step further, what if I wanted it to check a range of cells? Say, AD2 through AD10?
  8. mrtauntaun

    VBA command to fill an excel row with a color

    Hi all. I am looking to do the following: If AD2 = 0 then 'Fill row 2 with color(red)' Either the entire row or a selection of cells in that row, whichever is easier. I've googled like crazy, but I can't find this command. Thanks!
  9. mrtauntaun

    Autofilter unhides rows in excel

    I have several rows hidden in a spreadsheet. I want to use the autofilter on the displayed data only, however wheneven I make a selection with the filter, it unhides all hidden rows. Is there anyway to keep the hidden rows hidden? Doing so in VBA would be ideal, but i'll take anything at this...
  10. mrtauntaun

    Using an If statement in vba for multiple records in a range

    Hi guys. And here I thought Math not Zathras skill :) Fireftyr, originally I did not need it to loop. Just to perform a simple formula. However, I have since been asked to add a lot of new criteria to the calculation. Also, it is the result of that formula that needs the if, not just if it...
  11. mrtauntaun

    Using an If statement in vba for multiple records in a range

    Awesome, that did it. I love tektips. Thanks Rofeu!
  12. mrtauntaun

    Using an If statement in vba for multiple records in a range

    Hi all. I am using the following bit of code: Dim rngCalc As Range Set rngCalc = Range("AD2:AD" & Cells(Rows.Count,1).End(xlUp).Row) rngCalc.Formula = "=(8-K2)" rngCalc.Value = rngCalc.Value In this case, the first cell to be replaced is AD2 and it continues for as many rows as I have. What...
  13. mrtauntaun

    Executing forumula in excel with vba for all rows in worksheet

    Thank you both! Both codes work, though I am going with firefytrs code as its more compact, thanks again!
  14. mrtauntaun

    Executing forumula in excel with vba for all rows in worksheet

    Hi there. Im new to using VBA in excel, so bear with me. I have a workshet with numerous rows. I need to make a snipet of code that checks a row, takes the values from a cell, runs it through a formula, and puts it in a cell at the end of a row. Once it is done, the have it do so for the next...
  15. mrtauntaun

    How to create a new field in a table with a query

    Its not that simple unfortunately. It's not my DB, and this is the way it needs to be done for a vareity of reasons. I do understand your point however, and the DB DOES compact and repair itself daily after these tasks are done.
  16. mrtauntaun

    How to create a new field in a table with a query

    I completely agree, gmmastros, it's not the way I would do it, but its the way I was told to do it. Unfortunately it's not my DB. It looks like our two posts overlapped a bit, but the table is effectively deleted everyday and remade via a push through a ODBC link from another system.
  17. mrtauntaun

    How to create a new field in a table with a query

    No, the table is pulled from a daily feed from another system and creates table1. So I will need to create this field on a daily basis. Effectively the original table is deleted and recreated daily. It's not my DB, im just being asked to make changes to it.
  18. mrtauntaun

    How to create a new field in a table with a query

    There is nothing wrong with doing it that way, but my end result is to have this query part of a macro I have run daily. This way everything happens automatically and I don't have to create the field by hand every day. I would rather not use code. I will search for more information on...
  19. mrtauntaun

    How to create a new field in a table with a query

    I need to update table1 with data from table2 using an update query. The problem is there is no field in table1 for me to update to. I want the query to create a new field in table1 so I then have a valid target to update the data too. Example: Table2 has a field named 'DataField' Create...
  20. mrtauntaun

    Combining ALL data from two tables

    I would like to thank you both very much. Golom's statement when input worked exactly the way I wanted it. However, Lynchg, you work more my speed, a query to make a query, so with your explanation, I was able to understand what Golom was saying. So thanks to both of you, I have the results I...

Part and Inventory Search

Back
Top