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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by wuwang

  1. wuwang

    Copy paste a table with structure only

    Hi, I'm trying to copy paste a table with structure only using DoCmd CopyObject but I received type mismatch error. The command I use is : appAccess.DoCmd.CopyObject "new table", acTable, "old table" Is the CopyObject method that I should use? Thank you for your help!
  2. wuwang

    EXCEL question

    Hi Dale Watson, I should apology to you and other peoples who has been helping me a lot for my 'improper' reacting. Believe me, I DO APPRECIATE the help from you all. Now I know how to issue a STAR. Thanks again.
  3. wuwang

    EXCEL question

    Hello, I grab data from EXCEL and write to a text file. I want to put the log_in ID as part of the text file name (user DOESN'T NEED to provide his log_in ID when he uses EXCEL application). How to "memorize" the log_in ID and grab it to the text file name? (I was told to use...
  4. wuwang

    Hello, I read file from EXCEL an

    Hello, I have one more question need help. Once my text file is created, how to have this file with read-only atrribute so the other people won't change anything in the text file. I need code example. Your help will be very appreciate.
  5. wuwang

    Hello, I read file from EXCEL an

    Hi Skip, It works. Thanks for much. YOU ARE GREAT.
  6. wuwang

    Hello, I read file from EXCEL an

    Hello, I read file from EXCEL and write into a text file. The output in the text file is SQL statments and the output have double quote in tne beginning and in the end. How to get rid of the double quotes in begin and in end???? For example, the output in text file is: "Update table1...
  7. wuwang

    Hello, I tried to use the foll

    Very sorry to confuse you. Please disregard about my first question about the digit "3". A typo in my code.
  8. wuwang

    Hello, I tried to use the foll

    Thanks guys. I hope you don't mind I have more questions about this issue. What's the meaning of 3(the first digit) from the output : "Update_testfile32901024911.txt" Is it possible to avoid the "3"? Besides, if there is a function to force the time with East time? The...
  9. wuwang

    Hello, I tried to use the foll

    Hello, I tried to use the following code (from EXCEL to text file) to add system time (eastern time) as part of my .txt file name. So the file name should be Update_testfile3_systemtime.txt Open ThisWorkbook.Path & "\Update_testfile3" & Now - Int(Now) &...
  10. wuwang

    EXCEL -- text file name

    Hi, I want to write data from EXCEL to a text file. I would like to have the file name like Update_testfile3_systemtime.txt I used: Open ThisWorkbook.Path & "\Update_testfile3.txt" & systemtime & ".txt" For Output As #1 Do you have idea that which function I can use...
  11. wuwang

    Hi, I want to validate data to m

    Thank you a lot for your great idea. I used the code If InStr(1, vData2, &quot;.&quot;) <> 0 Or Abs(vData2) > vData2 Then ................. and it works well. Thank you again.
  12. wuwang

    excel issue

    I careated a form in EXCEL. I want to put the code in the form. This code will cleanup the background color in the worksheet once the form initialized.
  13. wuwang

    Hi, I want to validate data to m

    Hi, I want to validate data to make sure it is NOT either decimal or negative number. I used &quot;If Not IsNumeric(vData2) Then .....&quot; but it didn't work well. Is there any other function I can use in EXCEL 97? Thank you in advance
  14. wuwang

    excel issue

    Thanks Chris. I put the code like this Workbooks(&quot;xxx.xls&quot;).Worksheets(1).Interior.Color = vbWhite But I recieved a error said &quot;Object doesn't support this property or method. Mine is in EXCEL 97.

Part and Inventory Search

Back
Top