LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default Automating multiple entries from Excel to an Oracle-based database

I would welcome any suggestions on getting data from Excel into a Resource
Management (Oracle-based) database. The program allows only single
copy/paste actions but not multiple entries - the software does not allow
copy/pasting a whole column at once. I've succeeding in using a SendKeys
program to paste multiple values into a numeric field in Access, but using
the same code simply does not work in the Vantage Point program.

SendKeys definitely do not work, I've tried a number of variations and I
think the program blocks direct data entry, so I'm no longer pursuing this
line.

The best results I've got come from single copy/paste using:

Selection.Copy

AppActivate "calls offered"

With ThisWorkbook.Sheets("Sheet1")

Selection.Copy

SendKeys "%ep"

End With

This, at least, succeeds in getting the value in (admittedly, it could be
typed in just as quickly, which defeats the object).

I've produced a series of 52 (named) control buttons in Excel, which
correspond to 15 min time slots such as 8:15 am, 8:30 am etc and each one of
these has the code above embedded to allow copying/pasting a single value at
a time. There is also a cross check that the correct numerical value is
entered at the correct time slot. This is, nevertheless, still a cumbersome
as it means:

1. moving to the cell in the Excel column and clicking the button
2. moving down in the database
3. switching back to Excel, deselecting the cell and
4. moving down to the next cell etc
5. then repeating the process, by clicking the next button to copy/paste the
next value!

I would welcome suggestions for the shortest number of key strokes/button
clicks (preferably a single one would be nice!) to automate this process
without the need to:

1. manually switch between Excel and the database
2. manually move down a cell, both in Excel and the database.

Any suggestions would be most welcome!

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing oracle database through excel cell coeus Excel Discussion (Misc queries) 8 August 10th 06 01:48 AM
How to get data from Oracle Database to Excel? David Willis New Users to Excel 1 March 31st 06 01:57 PM
how do i remove multiple entries in an excel database? Chi Excel Discussion (Misc queries) 1 December 2nd 05 01:02 AM
ODBC/VBA?EXCEL and ORACLE database BAC Excel Programming 7 July 14th 05 12:55 PM
SQL.Request from Oracle Database CraigRhino Excel Programming 1 February 25th 04 10:33 PM


All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"