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

  • Users: newbee2
  • Order by date
  1. newbee2

    search a database feild for key words and return results as query

    Hi, Through a macro call up a query when I select a button on the switchboard. This query acts as an initial search feature. There is a feild called key_Words, where words are typed as markers to distinguish what is on the form record. I am trying to get the query to look at this feild on the...
  2. newbee2

    How ? Change a Queries field type from text to number

    Hi, I have 2 tables one with a text field and one with a number field (heh its Vantage). Using Access I can run these queries via an ODBC link but cannot link the feilds in access "type miss match" they both contain the same information. Is there a way to change the datatype of a query - run...
  3. newbee2

    Text feild to number field or vica verca?

    Is it possible to export a text feild to become a number feild usinG vba code? If so how? Reason. 2 separate tables one has a job number as text the other as number feild. The two will not link in a query. Thoughts. Thanks for ideas in advance Bill
  4. newbee2

    Automate clearing and Excel Worksheet Range before Pasting

    Arrrrrr and the result to make it work. Was changing the line from Set xlsheet = xlbook.Worksheet(20) to Set xlsheet = xlbook.Sheets("Five_Market_Union") Getting rid of the numerical reference as the subscript was out of range. FWIW Bill
  5. newbee2

    Automate clearing and Excel Worksheet Range before Pasting

    Thanks for the input, My guess was basically right, so this is what I did, I am playing with the following, running from access but the code grinds to a halt. Function Clear() Rem On Error Resume Next Dim xlapp As Excel.Application Dim xlbook As Excel.Workbook Dim xlsheet...
  6. newbee2

    Automate clearing and Excel Worksheet Range before Pasting

    Greetings, I use the following, DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "Five_Market_Union", "C:\My documents\Work in progress\KPI", hasfieldnames:=True From an access 2000 project, To paste a queries results in a worksheet whilst it is closed. The Spreadsheet must be...
  7. newbee2

    append values from option boxes to make word

    Thanks so much Mark. Best Regards Bill
  8. newbee2

    append values from option boxes to make word

    Greetings, I have 11 option boxes , Series,B,T,W,D,V,E,X,C,K,A on a form. I would like to take each of the values made by a selected checkbox in each of the option boxes and create a word from them in a feild or text box somewhere on the form in the shape of 375.203.1.3.0.2 etc. When the form...
  9. newbee2

    Import Excel Cells as yes no into access database

    Hi, Is there a quick way to take an Excel Spreadsheet which has 2000+ row entries, and for specific columns to convert them to Yes/No for a new access 2000 database. There are 3 columns which set up a specification, they have been marked with a dot or no dot. When I import these into access they...
  10. newbee2

    Code hanging when object is available giving Err=462

    Hi, When I run the following part of code it returns an error at the strTemplatePath or states that the Template can't be found. It exists and its where its supposed to be for this application. This is a snippet of it. The code is part of a module, of which there are 4 to produce the automation...
  11. newbee2

    Word .Paste to fit Landscape A4 VBA help

    Hi, Using Office 2000 Is it possible to get an excel range to fit to an A4 size landscape document. I can save a range of size A1:G19 and copy to clip board, when the range pastes it occupies two A4 sheets. Is it possible to make it fit to the one A4 sheet. Kind Regards Bill
  12. newbee2

    Runtime error 429

    Hi, The following code gives me the run time error 429. Active X can't create object. I am atuomating from Excel 2000. 'create a word instance if there isn't one 'or use an existing instance if there is one in use Set objWord = GetObject(, "Word.Application")...
  13. newbee2

    Make table query to show differnt Combobox column

    Hi, Using Access 2000, is there a way to change the information stored in a table via a combo box to read/ display the other column?. A combo box allows a user to choose a name, the initials of that name are stored. A make table Query is run to select a particular record and its information. One...
  14. newbee2

    Repost , Excel range to word Doc woes - Guidance please

    Hi, Please give me some guidance. i'm not really a VBA person so any attempt I make is a stab in the dark intil it works. Things have changed somewhat since the last time I posted. Well I can get the Range to copy to clip board,I can get the template to save as a doc minus the Range. But I acn't...
  15. newbee2

    Excel Range fit to Word Doc Page VBA help Please.

    Sorry to repost, Having a bit of aporplexy with this problem in VBA. I can get a Range to copy to clipboard.(The range is bigger than an A4 sheet) Case Is = 8 Rem MsgBox "it works", vbOKOnly Set rng7 = Sheet1.Range("A130:G154")...
  16. newbee2

    Excel range not pasting to Word Document Help

    Thanks for the advise, have placed into module. still getting word opening and greyed screen, no document showing. Thanks Bill
  17. newbee2

    Excel range not pasting to Word Document Help

    Hi, I want to take a range from an excel sheet and paste it to a new word document laid out in landscape. I am using the following. I can get word to open but no document shows. Case Is = 8 MsgBox "it works", vbOKOnly Set rng7 = Sheet1.Range("a130:g154")...
  18. newbee2

    code to take Date() and resolve month as number

    Hello, I once had a copy of the way to take a date and from it resove the month as a number. so if I have dd/mm/yyyy or that Date() function I can get the month as a number. Can anyone be kind and help me again. Kind Regards Bill

Part and Inventory Search

Back
Top