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 strongm 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: smooveb
  • Order by date
  1. smooveb

    Excel 2003 - rename worksheet using date and time

    Yup, that worked. Part of what I was doing wrong was setting only using date, but not time as well. There may be a better way of doing this, but it worked. Thanks! Dim curdate As String curdate = Format(Date, "mmmddyy") & Format(Time, "hhmmss") Sheets("Summary").Select...
  2. smooveb

    Excel 2003 - rename worksheet using date and time

    Hi, perhaps I'm still not being clear. I'm using the code: curdate = Format(Date, "mm-dd-yy hh:mm:ss") to set curdate. I need to use alternative code to set curdate to include month, day, year, hours, minutes and seconds, but without the colons (as we've discussed, a worksheet cannot be...
  3. smooveb

    Excel 2003 - rename worksheet using date and time

    Sorry, I thought my post indicated that I had tried this, and appreciate the need to scrub the colons from curdate before trying to name the sheet with it. To clear up the question, I'm trying to set curdate to reflect date and time, but without colons. Thanks! Barrett
  4. smooveb

    Excel 2003 - rename worksheet using date and time

    Hi, I'm very close to being able to insert a copy of one worksheet at the end of my workbook, and rename the new sheet using current date and time. Date is easy, it's time that's giving me a little hassle - presumably since Excel doesn't like you using : in your sheetname. Here's my code...
  5. smooveb

    how to make my excel vba more efficient

    Hi everyone, I'm a relative newbie, and am interested in making my excel code more efficient. Just a couple questions. 1. is there a really good newbie reference (free or for purchase) for excel vba? I'll paste an example of my code below, so you can know the general level I'm at right now...
  6. smooveb

    Excel VBA - naming a relative reference

    Hi, I'm pretty new to using relative references in my VBA code. I use excel 2003, and write fairly simple programs most of the time. I'm wanting to start in a particular cell, which will change every time I run the program. I will then move four spaces to the left to set one of my variables...
  7. smooveb

    Notes 6.5 Calendar to iCal?

    Hi, I've heard that if I can get my Lotus Notes Calendar (or at least entries within it) to iCalendar format, I can import that into Google Calendar. I'm looking for the quickest and simplest way to get my Notes Calendar syched with Google Calendar, without installing software. Any thoughts...
  8. smooveb

    Using 'number of months' in a formula

    Hi everyone, I'm using BO 6.5 SP2. I have two columns - one is a production date, another is the number of months before a product expires. How can I build a formula that uses both these columns to return the actual date the product expires? Thanks much in advance! Barrett
  9. smooveb

    Word/Excel VBA cooperation?

    Thanks - this compiles alright, but does not actually do any Find/Replace work. Perhaps the range is not defined correctly? Thx Barrett
  10. smooveb

    Word/Excel VBA cooperation?

    Thanks Femei, I've tried using a Range instead, but don't have the syntax correct. It's giving me a compile error of User Defined Type not Defined. Any ideas? Specifically, it looks like it's highlighting the Dim rng line. Here's the code: Sub test() Dim appWd As Object Set appWd =...
  11. smooveb

    Word/Excel VBA cooperation?

    Thanks for all the great help and ideas! Here's my code right now. For some reason, instead of processing all the replacements, it instead simply selects the first instance of "D" in the word doc before it exits the procedure without error. Any thoughts? Thanks, Barrett Sub test() Dim...
  12. smooveb

    Word/Excel VBA cooperation?

    actually, here's what I've tried. I'm getting a compile error highlighting the CreateObject command stating Sub or Function not defined. For some reason I thought CreateObject would be an internally defined function of some sort, that Excel would use to reference an external word object: Sub...
  13. smooveb

    Word/Excel VBA cooperation?

    Yeah, the trouble is that when I try to have it (the Word macro recorder) record me opening an Excel file using Excel, I've had no success thus far. Based on my research in this forum, I'll probably want to: Set appWd = CreatObject("Word.Application") appWd.documents.open...
  14. smooveb

    Word/Excel VBA cooperation?

    Hi, thanks PHV. My vba knowledge is such that I could easily do this if it was all within the context of Excel. I'd probably tape a macro and go through the motions in order to get the syntax. But since the macro won't record once I leave excel to open the file using word, I'm not sure what...
  15. smooveb

    Word/Excel VBA cooperation?

    Hi everyone! what I need to accomplish is very simple. Based on an excel table with two columns: Excel columns: "Find What" "Replace With" I will need to open up an XML file using Word, and then do find replaces within that Word file. Thoughts? Thanks! Barrett
  16. smooveb

    Excel - finding date with a number of months from today

    Hi everyone, I'm thinking someone will probably figure this out fairly easily. I have two columns with data: Production Date (usually the first day of a certain month) - examples would include 8/1/2008 or 12/1/2008 Then I have a number of months until Expiry (Expiry Months) - examples would...
  17. smooveb

    UOM Conversion Question

    Hi, I have a Receipt Unit of Measure and for an Item, and the Item's base Unit of Measure. Returning the correct conversion rate from the database is complicated, but I'm wondering if there is any advice out there? To me, it seems at least three tables from the INV schema will be involved...
  18. smooveb

    simple SQL syntax - NOT IN

    Hi everyone, I've got two tables, that should be linked by common field course_code. The tables are called Courses and Emp_Qualifications. How can I write a simple statement that shows me all Courses that have course_codes not found in the Emp_Qualifications table? Thanks! B
  19. smooveb

    Counting Unique values in Excel column

    Hi! I feel silly even asking this. How do I get a count of unique values in an excel column?? (easiest way?) B
  20. smooveb

    excel - macro saving to txt, but with " " right now

    well heck, that was easy ;) thanks a lot CMP!! Barrett

Part and Inventory Search

Back
Top