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 TouchToneTommy 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. Cogivina2004

    Error: 429 ActiveX component can not create object

    Hi, I get this error "Error: 429 ActiveX component can not create object" in Excel when I hit the F9 key to calculate. I've checked to make sure all referneces in VBA were connected. Thanks for your help.
  2. Cogivina2004

    Line count from the dropdown box in Form

    I have a dropdown box in the form in access. It lists all the state names. If I select CT, my State = CT and my StateNum = 2. How do I write code to get the index of the state that I selected? Thanks 1 AL 2 CT 3 NY Sub Enter_click State = MyForm.State StateNum =...
  3. Cogivina2004

    Trying to save excel gives msg about RESUME.XLS

    Hi, "A file named RESUME.XLW already exists, do you want to replace it?" Is there a way to stop the above message appearing even though I have the codes "DoCmd.SetWarnings False" and "Application.DisplayAlerts = wdAlertsNone " in my macro? Thanks.
  4. Cogivina2004

    Link table from a spreadsheet in Excel to access

    I use this code to import the table from Excel to access: DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, "MyTable", "C:\MyFile.xls", True How do I write code to link the MyTable to access instead? Thanks.
  5. Cogivina2004

    Copy & PasteSpecial in VBA

    I saw the following copy/paste was done in one line code in this post: Range("A1").Select Selection.Copy Range("B1").Select Selection.Paste --------------------------------- Range("A1").copy range("B1") Can it work for PasteSpecial - value? Thanks.
  6. Cogivina2004

    How to close Access from Excel?

    I use this code from this forum to open my access database from Excel. The macro "CombineData" is called to update its table. It works fine but the problem I have is the database does not close after it completes. When I am in access, it said the database is locked. I have to close out the...
  7. Cogivina2004

    Can I run a macro or query in Access from Excel?

    My normal process is to input the data in excel and run a macro in access to update series of tables. I would like to write code to run this macro or query from excel instead. It should eliminate time to open and reopen between excel and access. Thanks.
  8. Cogivina2004

    How to duplicate a table in access

    I would like to duplicate Table1 using the similar code below: StDocName1 = "Table1" StDocName2 = "New Table" DoCmd.Rename StDocName2, acTable, StDocName1 Thanks.
  9. Cogivina2004

    How can I get the value from a form in Access to Excel?

    How would I code in excel marco in order to read the value of a form (Form!Ult!DY) in access?
  10. Cogivina2004

    Pivottable not Refresh when run in the macro

    I have about 10 pivot tables in Excel application. Only one pivot table does not refresh after I run the macro. However, if I put a stop in the marco, and run it manually...all pivot tables get updated. I've tried many times but I could not figure it out how this is possible. All the field...
  11. Cogivina2004

    PivotTables - Refresh Problem

    My pivot table does not refresh after I run the macro. However, if I put a stop in the marco, and run it manually..the pivot table get updated. I've tried many times but I could not figure it out how this is possible. ...... Sheets("Sheet1").select...
  12. Cogivina2004

    Concatenate & Update Table

    I have a table(TrFac) in access with 20 cols as F1, F2...., F20 and some ID fields. The # of rows (Range("TrCounter") is varied by state. I create a listbox in userform so that the user can input their changes for these fields. Range("TrChck").value is the total number of Fs changed by the...
  13. Cogivina2004

    Run-Time Error 2950

    I get this error "Run-time Error 2950 Reserved Error" when I try to use Dlookup to retrieve a value from a table in access. ------- Set dbl = OpenDatabase(GetDataBase()) wsTable.range("A1") = DLookup("AYRQ", "[State and Year Table]") -------- It works fine if I use the following: STR = "...

Part and Inventory Search

Back
Top