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. BatFace

    Can VBA report on email sent times?

    Thanks so much everyone - it's working really well!
  2. BatFace

    Can VBA report on email sent times?

    Hi Everyone, I don't see outlook with vba info here often, but I'm hoping someone might be able to point me in the general direction...I've never used VBA with outlook before, so at the moment I'm not even sure this is possible. I need to generate a report from outlook (2000) that shows what...
  3. BatFace

    Enter Cell Value According to Date in other Cell

    Thanks Kevin it worked beautifully...I made a little change to suit what I needed and it's fine - so fast and simple. I have given you a star for taking the time to explain what each variable was referring too also - it makes it much easier to understand the code for a wee novice such as...
  4. BatFace

    Enter Cell Value According to Date in other Cell

    Thanks in advance for any help you can give me! I am trying to do a loop which will look at the date entry in one cell then enter a string into another according to the value (eg if a1 is between 1/7/03 and 31/7/03 then d1 = "July NY")...The code I am using (it's messy I know but I am...
  5. BatFace

    Error handling - find data not found

    Thanks Loomah, I changed it to the below code which is working (so far)...and changed my loop around - much better... Sheets("Sheet2").Select With Sheets("Sheet2").Range("a:a") Set c = .FIND(strFindText, LookIn:=xlValues) If Not c...
  6. BatFace

    VBA - Autofilter, Selects all when criteria not found

    Thanks again for your help! I am using the following code to copy data according to autofilter criteria - this works fine, until there is no data marked as &quot;sold&quot; - it then copies the whole sheet...what code would I use to exit sub if criteria is <> &quot;Sold&quot...
  7. BatFace

    Error handling - find data not found

    And another problem.... Excel 2000 I am using the below code to find and mark data over 2 pages - the 2nd page (&quot;Sheet2&quot;) won't necessarily have data on it though...so I am getting an error message because the data can't be found on sheet2...the On Error Goto Nextstep works fine to...
  8. BatFace

    Autofilter - Criteria not Found

    Thanks again for your help! I am using the following code to copy data according to autofilter criteria - this works fine, until there is no data marked as &quot;sold&quot; - it then copies the whole sheet...what code would I use to exit sub if criteria is <> &quot;Sold&quot...
  9. BatFace

    Listbox Question - XLBO Can U Help?

    Thanks Geoff - I'll try that when I get back to work..Public Holiday here today [bigsmile]...I actually have j-walkenbach's &quot;power programming with vba&quot; book - which is my other source of learning - glad u noticed 'cos I said I was a newbie and then felt like a cheat putting all that...
  10. BatFace

    Listbox Question - XLBO Can U Help?

    After the obvious answer to my previous question regarding filtering by set parameters I have put 2 listboxes on my user form....Because I'm a newbie to VBA playing with pivot tables was a wee bit daunting!...Here's the code I have: Dim AllCells As Range, Cell As Range Dim NoDupes As New...
  11. BatFace

    I have the following code which is

    Thanks Geoff if I wasn't a newbie to vba I'd be [blush] - at least I can hide behind that excuse! Why didn't I think of that? [bigsmile]
  12. BatFace

    I have the following code which is

    I have the following code which is used to filter data according to 2 parameters entered by users in a userform...my problem comes when a usecode is entered that doesn't exist - users won't previously know which use codes are in the current month data. Because the usecode is not in this data...
  13. BatFace

    Inputbox Cancel not Behaving

    YAAAAAYYYY This works! Thanks so much LSTAN, I knew it would end up being something simple [blush]
  14. BatFace

    Inputbox Cancel not Behaving

    I have the following code to find whatever is entered into the input box - move 11 columns right and enter &quot;Y&quot; in this cell; Dim strFindText As String strFindText = InputBox(&quot;type a number&quot;) If strFindText <> &quot;&quot; Then Range(&quot;p1&quot;).Value = strFindText...
  15. BatFace

    Inputbox Cancel Button - Not behaving

    I have the following code to find whatever is entered into the input box - move 11 columns right and enter &quot;Y&quot; in this cell; Dim strFindText As String strFindText = InputBox(&quot;type a number&quot;) If strFindText <> &quot;&quot; Then Range(&quot;p1&quot;).Value = strFindText...
  16. BatFace

    excel linking

    You could use a match and index formula, name the 2 ranges on sheet 2 (eg column 1 &quot;sku&quot; and column 2 &quot;weight&quot;). If you want to match the weight from sheet2 to the sku on sheet1 you would enter the following formula into the cells in the weight column on sheet1 (lets say...
  17. BatFace

    Problems with MONTH() function in VBA

    Loomah - the hashes mean the date is literal rather than variable, and still needs to formatted to suit your needs [bat]
  18. BatFace

    Problems with MONTH() function in VBA

    Doupelow, I was having the same problems - I changed the 'dim mymonth as integer to ' dim mymonth as variant - and this worked (?)... Let me know if you got this to work another way [bat]
  19. BatFace

    Code for sending Email (Off2000)

    Thanks in advance to anyone who can help me (again). This time I'm after code to send an email - from excel. I managed to get the message box to appear, with the file attached with - Application.Dialogs(xlDialogSendMail).Show then I added the below code (which I found here using keyword...
  20. BatFace

    Select Variable Ranges - VBA

    Sorry I haven't gotten back - I have been away for a few days. Both solutions worked brilliantly - thanks so much for your help! [bat]

Part and Inventory Search

Back
Top