Excel Macro To Lookup Edit Data In Online Database

May 18, 2012

I'm working on an Excel based product. As part of the security process I would like to require the user to enter a product id key into excel. Then the spreadsheet would compare the entered value to some kind of online database to verify the id key is valid. Finally, the spreadsheet would update the online database so that the id key is no longer functional. How easy is this to do?

I know verifying that the id key is valid is fairly simple.

Here is my biggest issue: How to get Excel to update the database and of course what form would this database take. Maybe its a table on a webpage, or google docs. Again the issue is how would I be able to update the table.

View 1 Replies


ADVERTISEMENT

Online Database - Query More Than 15 Digits

Sep 25, 2011

I want to web query an online database. One of the columns contains numbers 16 digits long. When Excel imports the query I get the number in exponential format and it replaces the last number with a zero.

Example: The original is 1002002660100027, after query ends up as 1.002E+15 and reformated as text I get 1002002660100020 (Last # changed to a "0")

Is there a way to prevent the query from replacing the last number with a zero when importing from a query? Or.. can I get the query to paste as text?

View 3 Replies View Related

Excel 2010 :: Importing Online Data Into Spreadsheet

Jun 2, 2014

I have been tasked with streamlining a process to collect data from a specific online website (Web of Science) and import it into an Excel 2010 spreadsheet.

Currently they are going to the website, entering a short number of search parameters and then manually recording the pertinent data from the webpage. They would like to be able to enter a keyword in Excel (which acts as the search item) which then automatically does the rest of the process and provides them with a spreadsheet of the required data.

Is this possible? Perhaps by using Visual Basic code within Excel? I also saw a method that employed SharePoint Server 2010.

View 3 Replies View Related

Excel - Macro To Copy Invoice Data To Database

Aug 1, 2014

Following macro code is for copying Excel Invoice Data to Excel Database. Also cleans the specified cells after copying. Its working Perfectly.

But there are some issues that should be solved.

Problem 1: It copies empty cells(""), formula based cells and blank drop-down list.

Problem 2: After copying it cleans formulas too. Formulas must be remain their.

View 2 Replies View Related

Using A Form To Edit Database

Feb 5, 2007

I have a userform to view data in a database from a combobox result as follows:
Private Sub cmbCompany_Change()
With frmChangeCustData

.txtCustNo = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 2)
.txtAddress = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 3)
.txtCity = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 4)
.txtState = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 5)
.txtZip = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 6)
.txtPhone = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 7)
.txtContact = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0, 8)
.txtFax = Format(Val(.txtPhone), "(###)###-####")
.txtEmail = Range("custdatacompany").Cells(cmbCompany.ListIndex + 0.1)

End With

End Sub

I want to be able to use the same type of form to edit any of the fields in the data base selectively. I think I need to reverse the above code in some manner to accomplish this. What I can't get my head wrapped around is how to get to the correct row in the database to post the edited fields in the correct spot.

View 9 Replies View Related

Database Form Mass Edit

Jan 12, 2010

Lets say i have 2 columns A and B as shown below. I want to have a userform that has a list that shows the uniques in column A ie. 1,2,3 and a drop down next to each one that shows my options yes, no, maybe. If the user selects yes for 1 and submits the form i want all 1's in column a to have yes in column B.

A B
1 Yes
2 No
3 Maybe
1 Yes
2 No
3 Maybe
1 Yes
2 No
3 Maybe
1 Yes
2 No
3 Maybe

View 10 Replies View Related

Mail Merge - Excel To Word Macro Edit?

May 3, 2012

This macro, enabled in Excel, is part of a chain of macros and will open Word, run the mail merge, save and close Excel. However, there is a macro in Word that I need to run but don't know how to activate it. Is there a code that I am missing that can be added to the end of the macro included?

VB:
Sub Mailmerge()
Dim wd As Object
Dim wdocSource As Object [code].....

View 6 Replies View Related

Run SQL Queries In Excel Against Database Using Macro?

Jan 29, 2014

I have sql queries in spreadsheet column and which needs to run against Db2 database daily and then update the result back to spreadsheet. This is tedious process and could there be a way to create a a macro using VB which performs the following?

1. connect to db2 database

2. take the sql query one at a time from every row and then run against database

3. Obtain the result and then update it back to last column of the spreadsheet.

View 3 Replies View Related

Search And Edit Excel Data In Userform?

Mar 2, 2013

I work in a small team of 5 people, but each of us is very busy and get emails from our manager asking us to complete different tasks. I have made a userform in excel for our manager to create the tasks in and put all the details in sheet1. This creates each separate task on a separate row. Now I want each of my colleagues to log into the sheet and be able to retrieve a task with the same userform. I am giving each task it's own ID, so I want to be able to search by this and the userform will be populated with the task details. I also have combobox's with the status of each task (Completed, In progress etc.) I want to be able to change these in the userform too.

VB:
Private Sub UserForm_Click()
Private Sub CommandButton1_Click()
Dim LastRow As Object
Set LastRow = Sheet1.Range("b65536").End(xlUp)

[Code].....

View 1 Replies View Related

Use Data Entry / Search / Edit For Spreadsheet On Excel

Aug 9, 2012

I have created an example of a "Waiting List" for the college, everything I had done seemed to be working before I left for my holiday (apart from the search facility as I was still doing some problem solving, compiling and coding for it).

The Idea is to : Open Excel Document and be greeted by the "Hello" Userform

[Problem #1: This does not automatically show since I have returned from holiday, though there seemed to be no problem with it prior my escape.]Choose from three options;"Save and Exit" saves any changes on/in the database and closes the document"Insert Data" opens "Userform1" to allow users to enter a new row under the exsisting rows of data.

[Problem #2: The data in the sheet was all entered using this feature, but yet again since I have returned from holiday it keeps adding the data only on row 2]

[Problem #3: How to do Auto Formatting i.e. Postcode in Capital Letters]"Search" will open the "Search" userform which I hope to allow users to choose up to three column headings and enter the value to search that column with the parallel textbox value.

[Problem #4: The data which meets the criteria the most is listed into the listbox, if you select a piece of data (double click or "selected") it opens a new userformThe "Edit/Enrol" Userform allows user to Edit, Enrol or archive the row of data.the last Userform I created "Course" is for an admin of the workbook to choose a course and it be auto populated by the information in the worksheet "Code" and create a Mail Merge.

View 9 Replies View Related

Creating Images Database Where Pics Are In Excel Database

Mar 31, 2004

I am currently trying to create a database of products for my company. For each product I would like to include an image associated with it. I then want to have on another sheet a place where the user will click an error and be able to cycle through the products. As tehy cycle the associated image will pop up.

What I need to understand is after importing the image into excel, how do I associate that image to a cell so I can reference it in another sheet of the database. I am not concerned with how large the database will get, my pictures are quite small.

View 4 Replies View Related

Excel Data Using Cells Input To Filter Data And Producing Database Style Reports

Aug 6, 2013

Trying to use Excel Data List to create a database style report. IE. Originally blank sheet, which is only populated by data containing data matching "filters" input into cells ( say A1 & A2 )

I.e. A1 = Delivery week to be filtered by, and B1 Manufacturer Name

So if I type week "1" into A1 & Manufacturer "Microsoft" into A2, it will show a table only containing data Microsoft, Week 1, and associated data for those lines across the screen.

Week 1
Microsoft

PO number : Date Ordered: Address 1, 2 3 etc....

0011 01/01/13 Somewhere
0015 02/01/13 Anywhere
0213 05/01/13 Nowhere

I know this is much easier with a database, however my manager insists a database cannot be used, and it must be in a spreadsheet format !

View 3 Replies View Related

Extract Data From EPR Database Into Excel

Dec 9, 2011

I'm tasked with looking up part numbers in Epicor's ERP database and entering the labor cost into excel. Is there any way to write a macro or VB program that lokks at the part number in excel, goes into epicor, pulls finds the part number and cut and pastes the cost data.

I have about 30,000 of these to look up.

View 1 Replies View Related

Importing Excel Data Into A Database

Jul 20, 2006

which databases people are using with importing excel data into a database.

I want to know people's experiences on different databases and suggestions on which database i can use maybe.

On this moment i do everything in excel, but excel is not longer working properly because of large files that need to be connected to 1 or more sheets.

This is the situation now:

VAX (Dos bases database) -> Comma seperated Files -> Importing in Excel -> Linking the data to sheets.
Now I want to have a database where i can do all normal operations to have a good look and the situation of stock status, ordered parts, sales etc. (inventory control)

Who has experiences with databases ? And what are you doing with that database?

View 3 Replies View Related

Excel 2003 :: Autopopulate Data From 1 Database To Another?

Jul 1, 2014

I have inherited a number of databases in work (running Office 2003). It has quickly become apparant that a vast amount of work is duplicated and so i am trying to cut down the data input and therefore the possible errors.......

I have narrowed most of the work down and now have a major worksheet (is that what you call a complete Excel file) named "master database" and several over minor files....

Currently what i am trying to do is to get one of the minor files to auto populate an area of the master database. I will try to explain it below...

1. Minor database has 2 columns with data i require to auto populate the master database. (1 column (B) is called 'off', the 2nd column (C) is called 'on').

2. A number will be inputed manually into either 'B' only or 'B and C' columns, depending on the criteria of the job..

3. The criteria of the job is dictated by column (Z) where the text 'A' or 'ATL' is inputed

4. The master database i would like to add up the numbers inputed as a total from columns 'off' and 'on' and place them into seperate columns 'E' and 'G' of the master database.

5. IF column (Z) shows 'A' then only column (B) 'off' is to be calculated and put into the master database at column (E)

6. IF column (Z) shows 'ATL' then BOTH columns (B and C) 'on' AND 'off' are to be added together and column (G) populated on the master database.....

To make mattters more complex. An expiry date is shown on the master database at columns (D) and (F).
IF column (E) does not exceed 12 by the expiry date, i would like the cell (D) to turn red
IF column (G) does not exceed 10 by the expiry date, I would like the cell (F) to turn red

View 14 Replies View Related

Excel 2010 :: Create Database That Contains Data Taken From Several Workbooks?

Mar 8, 2014

I am trying to create a database that contains data taken from several work books that i have saved in one folder on my hard drive. These workbooks contain quite a lot ** data, but i only want to extract the data i want to instead ** having to extract it all? these works books are used by several other people as well, so i want it to be able to update as data changes.

I was thinking about using data links, but that only seems to extract all the data instead ** just what i want?

View 1 Replies View Related

Extract Data From Excel Database Based On Criteria

Apr 16, 2012

What I am trying to do is extract all the data from a excel database based on criteria. When i specify the site and month I need to pull all the corresponding data and write it to a worksheet. Below is an example. I am not allowed to show all the data it is confidential.

Site Date Operator Month
Chicago 12/3/11 Daniel December
San Jose 4/8/12 Mike April
New York 4/8/12 John April

View 1 Replies View Related

Excel 2010 :: Importing Data Into Database - Cell Formatting

Mar 19, 2014

I'm importing data from Excel 2010 into a database.

I'm joining to 2 cells into one. A1 = 12 Rushwood Street and B1 = London. So C1 = 12 Rushwood Street London

I need C1 to look like this:

12 Rushwood Street
London

I tried wrap text but when I import it comes out as one line in the database.

View 3 Replies View Related

Fetch Data From Excel Database And Display It On Respective Textbox?

Apr 4, 2014

I want some code on how to fetch data from an Excel Database and display it on respective textbox.

Like I have these coloum name in excel sheet; Emp Id

Name
DOB
Dept
Reporting to
Transport req.

I want to have VBA code to fetch it on txtbx1, txybx2 and so on.

View 1 Replies View Related

Excel 2010 :: Macro To Copy 3 Cell Values And Append To Existing Database File

May 14, 2014

I'd like my macro (in an Excel 2010 workbook) to copy values from three worksheet cells and append them to an existing Access or SQL database file -- without having to leave my Excel spreadsheet or open any other programs. The database file simply needs to be appended. Keeping a running list. That file isn't being used for anything else, we can set it up however is necessary to do this.

For example, Excel cells A1, A2, and A3. Representing Job Name, Job Number and Job Total.

how make VBA do this(in SIMPLE terms)? Or give me a link of where to look or what to search for? I understand VBA but not Access or SQL.

View 1 Replies View Related

Simple Macro- Exporting Data From A Database

Nov 21, 2006

I am exporting data from a database and will want to split up the information into separate worksheets & eventually into separate workbooks.

What I am looking for is a macro code that will automate the cut/paste of information onto other worksheets. I know I can record the macro but the problem is the data sets vary in size each quarter.

What I need is a macro code that looks for a particular phrase and when found it automatically puts all rows undernear (until phrase appears again)on a new worksheet....make sense? The phrase might appear twice or 50 times, so each time it is found the data following will cut/paste.

View 9 Replies View Related

Excel 2003 :: Find Data From Huge Database Of Items Of Equipment

May 23, 2012

Macro to find data from a huge database of items of equipment and find certain ones relevant to an area. I am using Excel 2003.

I have a spreadsheet which has three tabs.

Tab one has a list of equipment with a Ref (Col A), ID (Col B), mile (Col C) and chain (Col D) start and a mile (Col E) and chain (Col F) finish.

There are about 25 different Refs and IDs, but all rows have different Mile and Chains.

The second tab is an identical template of the third tab which is where I want the results to go (see below)

The third tab is raw data which list thousands of items but I want the macro to find the items which are in the first tab using the ref, ID, mile and chain information.

View 3 Replies View Related

Movie Database Lookup

Aug 18, 2009

hello, i need help on making excel code or vba code to make a search function from "search" tab.. and the databases are "movie list1 & movie list2" tab and for further database to add in the near future that would be "movie list3,4,5" tab and so on.. as i dont want to use the Filter function

How:

example: i will type in "the" word on the "yellow" cell and all the movie titles that contain the word "the" from my database tabs will show on the "grey" cell downwards..

View 14 Replies View Related

Macro And Conditional Formatting: Formats The Data That Is Pasted Into It From An Access Database

Dec 2, 2008

The macro firstly formats the data that is pasted into it from an access database, then it does some calculations to determine when 10 working days from a specific date is, and when 20 working days from the date is (these go in new columns at the end of the data). The macro will also add new columns which say "Not resolved" if there is no date in the Resolution column, "Yes" in the "10 working days met?" column if the condition is met and the same for 20 workings days in a different column. As the colouring etc takes a long time I really wanted to add as conditional formatting to the macro!

how to attach a spreadsheet here then I can show you what the outcome we want is. A point to note is that there is not a set number of rows each time we do this, and I don't just want 1 cell to be coloured - I want to specify which cells in the row are coloured depending on the results in another cell on that row.

View 2 Replies View Related

Excel 2013 :: Filter Data And Edit With A Search Instead Of The Filter Button

Oct 5, 2013

I have a database in Excel 2013 and now I want that when a value (a person's name) is entered in a cell. That then the database sort of filters the list for me, so it's still possible to make changes in the entries.

[URL]

Picture above to specify the search, which I would therefore like to edit

Dashboard_Action Pool Team 7.2.xlsm

I have been all morning working on a simplified version of the tutorial from YouTube: Create your own Excel Search Pt. 4. But came back later so only then that I can not change the data:?

View 2 Replies View Related

Lookup & Retrieve Only Positive Entries From Database

Jun 22, 2006

I have a Skills Matrix sheet consisting of 100 rows with Employee's names and 60 columns of all possible skills.....where an employee has achieved a skill a date appears in the appropriate column .

I want the user to be able to enter a name in another sheet and for the system to show ( on that sheet ) ONLY the column headers and dates of the skills they have achieved beside that name.

View 9 Replies View Related

Create Folder Location Lookup From Database Values?

Feb 7, 2014

I have a template for information that needs uploaded into a database via CSV. This database is then access via a HTML front end. As part of this there is a 'folder structure' with in the front end. This is displayed in a database table (See attached excel file for example data structure)

Currently I have this feeding into a drop down list which is somewhat cumbersome so want to make it more efficient and easier to use. I had toyed with the idea of adding more columns into the excel template and split the string up to populate however this isnt exactly professional looking.

My current thinking is, is there a way of putting this data into a listbox which is easy to navigate? Ideally in a folder tree navigation structure, I know this is possible for a windows folder structure

Folder Structure.xlsx

View 1 Replies View Related

Lookup Value From Database And Get List Of Matching Values To Another Sheet

Sep 21, 2013

I want to find the corresponding Disc Codes from a list and copy them in the DiscName column in the summary sheet. some lab names will have more than one Disc codes so when I run the macro it should bring up all the relevant Disc Codes matching with the Lab name to DiscName column.

Col 1 col 2 col 3 Lab name Disc Name(say abcd) xxxx yyyy zzzz ppppand

The list looks something like this.

Col 1 Col 2 Lab name Disc nameabcd xxxxxabcd yyyyyabcd zzzzzabcd pppppbcda
qqqqqbcda rrrrrbcda iiiiibcda jjjjjbcda kkkkk

View 1 Replies View Related

Can Do Two Way Lookup To Extract Data In Excel?

Dec 2, 2011

VLookup function, formula that will allow a user pull up data either by name or an ID number. Heres a scenario:

Cell (C5) requires user to input "name" of employee being search. Cell (H5) if you do not know the correct spelling then use their ID number. The array is called "agentlist" which contains Name, ID #, hire date, SSI, title, and personal address.

Here's the formulas that I came with but it returning with a "n/a" response.

(B12) =IF(C5"",AND(H5=""),VLOOKUP(C5,agentlist,2,0),"unknown")
(E12) =IF(C5"",AND(H5="")*VLOOKUP(C5,agentlist,7,0),"unknown")
(G12) =IF(C5"",AND(H5="")*VLOOKUP(C5,agentlist,4,0),"unknown")
(I12) =IF(C5"",AND(H5="")*VLOOKUP(C5,agentlist,2,0),"unknown")
(L12) =IF(C5"",AND(H5="")*VLOOKUP(C5,agentlist,9,0),"unknown")

The cells within paranthesis are the locations were the data will be displayed. Am wondering if I would need two different arrays, one to locate by name and the other by their ID number? Hope this problem is clear.

a1bc1c4e1f1g1h1i1j1k1l1m1n1a2a3search by:a4a5name:Victor SuarezID:a6a7a8a9a10Employee Informationa11a12#N/A#N/A#N/A#N/A#N/Aa13nameTitleHire dateSSIAddressa14a15a16a17a18agentlistID #named

[Code] ......

View 4 Replies View Related

Excel 2013 :: Mail Merging From Excel Database To Outlook

Apr 15, 2014

Using EXcel 2013, Windows 8

I have an Excel worksheet with one column being e-mail addresses. Other columns are Christian names, etc

Ideally can I create a full Mail merge with Outlook using whatever data I want. But probably just e-mail address and Christian name?

Otherwise be able to send one e-mail to all the e-mail addresses, without a major re-type.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved