Hits An External Site

Dec 18, 2006

I am working on a spreadsheet that hits an external site. My questions is, I need to hit the site about 80 times becuase I search for different info. It there a way to get the vba to go down a list 80 of names rather than me entering the vba code 80 times with the different names?

View 9 Replies


ADVERTISEMENT

Graphing Time To A Sum Of Hits

Dec 1, 2006

I have a graph / time problem

I have a program that is spitting out raw data to me that I would like to be able to put into a graph form in a efficient manner, but I’m not sure the best way to accomplish this.

Here is what I’m working with:
I am getting a list of time date stamps that appear as follows.

11/30/2006 6:02:25 AM
11/30/2006 6:02:36 AM
11/30/2006 6:02:40 AM and so forth.

Each stamp represents a hit to a link.
What I would like to be able to do is graph the number of hits per hour verse the time of day hit. Showing the time on the x & the number of hits per that hour on the y axis.

I can convert the time to decimal, but I still need to find a way to get excel to graph the sum of hits per hour.

View 9 Replies View Related

Excel 2010 :: Search And Highlight Hits Only In Column C?

Jun 11, 2013

In an Excel 2010 worksheet I use three columns. I need a user to be able to input a word or phrase into a cell or input box, and have Excel highlight that word or phrase every place it occurs only in column C.

Can I do that with conditional formatting? Or do I need to use a function? Or do I need a macro?

View 5 Replies View Related

Create Graph Of Date Hits Using Weekly Range?

Aug 5, 2013

I'm trying to create a line graph to show the trends of usage. I have a list of dates that I pulled from a website. I am trying to create a function that will count the number of dates between, for example, 8/5/2013 and 8/11/2013.

I had tried using this function to create a set of weekly ranges. =TEXT(DATE(2013, 1, 7)+(ROW(2:2)-1)*7, "m/d/yyyy h:mm AM/PM")&"-"&TEXT(DATE(2013, 1, 7)+(ROW(2:2)-1)*7+6,"m/d/yyyy h:mm AM/PM")

It correctly displays the date ranges, however when using this function:
=COUNTIF($E$2:$E$305, A2) Nothing gets pulled.

Here is one of the dates that has been pulled for example: 8/5/2013 11:10:00 AM

View 5 Replies View Related

Macro To Go Through One Column Until It Hits Blank Cell And Stop?

Mar 25, 2014

I need a macro to go through one column until it hits a blank cell and stop... the criterea of the loop:

if cell = "Multi" then **Move to X tab** else **move to X2 tab**

View 1 Replies View Related

VLookup Return Multiple Hits From Same Column Of Data

Jul 14, 2009

I am running a Vlookup on a large set of ID#'s that exist accross multiple servers.

The data is structured in (2) columns how you see below , and you will notice that the same ID# can show up on multiple servers.

However, the VLOOKUP is only returning the first match it finds.

Assuming that I want to keep the data structured as is, how do I make the vlookup return all matches?

ID# LOCATION

23 SERVER1
34 SERVER4
23 SERVER2
13 SERVER1
17 SERVER3
34 SERVER1

View 10 Replies View Related

When Close Worksheet Its Reopens The User Form And Hits Start

Oct 23, 2009

I have a userform, every time the user clicks on the start button it recodes there name, today’s date and their start time when they hit finish it records their end time.

The next time the user hits start it will record the users name, today’s date and start time on the next row (below their last entry)

The problem I have is that if the user clicks on start and then does not click on end button, but instead exits excel, then reopens the user form and hits start. The start will go on the row below, but now when they click on the end button the end time will go into the previous row for the end time, as they did not put it in if you know what I mean.

User NameDateStartEndTotal TimeTime InactiveClaire Watts
23/10/0915:04:2515:04:420:00:170:00:17Claire Watts
23/10/0915:04:4715:04:540:00:070:00:05Claire Watts
23/10/0915:04:5515:05:060:00:110:00:01Claire Watts
23/10/0915:05:0815:06:100:00:150:00:02Claire Watts
23/10/0915:05:55

#######Claire Watts
23/10/0915:06:18

15:06:18


I want to stop the user from being able to exit excel if they had clicked on start

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Cancel = True
MsgBox "You have clicked on Start and therefore mus Click the End button before you can exit excel.", vbCritical, "Cannot Close"

End Sub

This disables the X in the top right hand corner, I have aready disabled the one in the user form. However the following code does not let the user exit via File and Exit. Is there a way to put an IF statement into this that say if CmdStart has been clicked then the user can not exit, How every if it has not then they can exit.

I have read threads on this forum as well as on others and this does seam to be and issue.

OR is there a way of Hiding the X button that is in the top right hand corner. However this will still allows the user to hit start button and then exit excel, which will continue with the problem.

View 10 Replies View Related

Upload To FTP Site Within VBA

Aug 24, 2006

I have the following code, saving created files to a local network. I need to change the save location to an FTP site (with username and password). Is this possible/How do I do this?

Sub Filter()
Dim name As Object
Application. ScreenUpdating = False
Application.DisplayAlerts = False
ActiveSheet. Unprotect Password:="letmein"
MYCOUNTER = 100

View 9 Replies View Related

Counting Materials Used On Site

Jan 7, 2013

I have a master workbook called "BoM count" which I would like to have capture all the materials used on site. This info has already been captured on the workbook "Survey of materials used on site" (There are losts of these, 1 per site)

I want to open the survey within the BoM count workbook and pull out the relivant numbers of materials used and also list the site ID to show that, that survey has been completed.

View 1 Replies View Related

Connecting Between VBA Excel And Web Site

Dec 7, 2009

I have a some problem with connecting between VBA Excel and web site.

I wrote a macro to insert the data from excel but there is one problem with displaying the correct view.

I use this site to get the price of the bonds:
[url]

it is the site of russian exchange

First of all I write the ISIN code, for example RU000A0E6X12, in the "Quote Search" field and then press Enter for getting the data. After it I can choose the History information or Online from the last field in the left margin. I want to chose "History" and after it the dates from and till are appearing automatically. The automatization of it is my task. And I have only one problem in the end.

The program:

View 9 Replies View Related

Checking File From FTP Site

Mar 15, 2012

I have tried to search these forms for some information on how to have VBA code check a file saved in an FTP site. I am hoping to use this file to contain version information where the workbook code will compare the version of the workbook to the version log saved in a text file on an FTP server. If they are different, I would like a pop up window to appear that notifies the user that there is a new file available, and perhaps a prompt to save that new file to the user's computer (it does not need to update and replace current workbook).

Is it possible to have VBA check an FTP site for this if I put the username and password in the code?

View 1 Replies View Related

Count Days Not At Site

May 8, 2014

I have the vacation sheet so I can track my vacation hours used and available. The last thing I need is a way to count the number of days I'm not at my site. It doesn't matter why (Training, Holiday, Travel or Vacation) I need to track total days of site.

View 4 Replies View Related

Open A File On An FTP Site

Feb 11, 2009

Is it possible to open a file on an FTP site using VBA?

I've tried using the code below but it asks for a username and password even though it is in the code.

Workbooks.OpenText Filename:="ftp://username:password@ipaddress/ste1.txt", Origin:=xlWindows, StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(0, 1)

View 9 Replies View Related

List Of Web Site Queries

Apr 7, 2009

i have 306 web pages listed in sheet 1, A1:A306

how can i get a macro to open each and scrape a piece of info from each, and then store in a row in sheet 2?

View 9 Replies View Related

Calculating How Many Cars On Site

Mar 2, 2010

I am trying to create a spreadsheet to record the amount of cars in a car park at any one time.

I have created a basic sheet with columns for car/reg/visiting and a drop down box for time in and time out (both done using validation lists) and a duration column that calculates the time between in and out.

What I am looking to do is create something that tells me how many cars are onsite at any one time, taking into consideration what time cars come and go.

Then from this I am looking to produce a chart with axis of to time/cars.

View 9 Replies View Related

Macro: Log On To Secure Site

Oct 30, 2006

I've created a VBA-Form to import csv files into a spreadsheet.
Problem is IT have moved them to a secure server, and i've been given FTP Access to this server: \00.0.00.0folderfolder.

I have a module which can locate a folder and count how many csv files are in that directory. Problem is if i put in the ftp address it doesnt connect because i need to login via the RUN window, by putting the FTp address then entering my userID and password.

Is there anyway i can bring up this dialog box without using the RUN window. i've attached a spreadsheet with a screen dump of the dialog box

View 9 Replies View Related

Sorting Data Into Type And Site Name?

Aug 13, 2014

I am trying to fine an easy way to sort the attached spread sheet. it is a down load from our supplier which has a lot af data that i am not interesed in the only ones i need are columns description (r) and units (o) and name (g).

I am wanting to split each waste i.e oil fitters, acid batteries etc and each site so that the total amount each site has returned can be tabled ,so that i can create graphs showing who has/ has not return their waste steams.

View 6 Replies View Related

Vlookup To Read A Score For A Site

Jan 19, 2009

I am using a vlookup formula to a series of data sets. I am trying to get something so that it will display the relevant score for that site. However the lists are not the same size, how do i get a vlookup to read a score for a site if it is the the array but display "0" if the site name is not in the array?

It is coming up with #N/A and I can't do anything with that.

View 8 Replies View Related

Worksheet Change: Data In A Range, And Hits The "delete" Key Once

Oct 3, 2006

I have code in Worksheet_Change, and it works great when a user is filling in the data. When the user deletes data one row at a time, it also works. However, what winds up happening, is the user selects all their data in a range, and hits the "delete" key once, and then I get an error. How can I check whether or not the target is multiple rows and columns?

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If Target.Column = 1 And Target.Row > 15 Then
If Target.Value < 1000 And Target.Value <> "" Then
'My logic goes here
End If
End If
Application.EnableEvents = True
End Sub

View 2 Replies View Related

Transfer Data To Web Form From Framed Site

Sep 6, 2006

The following code works great:

VB:
Sub send_to_UCC()
Dim upcCode
Dim myTextField As Object

[Code] .....

But when the following code for a different page, does not work.

VB:
Sub send_to_UCC2()
Dim upcCode
Dim myTextField As Object

[Code] .....

Everything is the same except the URL and the textbox name.

View 8 Replies View Related

Sum Quantity And Show Total For Each Site In A Table?

Aug 15, 2014

I've attached a sample workbook. Data Table 2 on the Data Tables sheet is what I'm after. Basically I have a formula that sums up quantity 1 (Q1) and quantity 2 (Q2) for all widgets at a site name and month. So for example, go down through column site name and column month and add up all of Q1 for site1 in the month of Jun 2014 (all widgets). This works but it shows duplicate totals which makes sense as there are mutliple widget types at each site. I think the example workbook explains it better. Note the Pivot Table sheet is an example of what I'm showing currently and what I'd like to show. While I understand that depending on how I set up the Pivot Table I can get similar results using either Table 1 or Table 2 but the other thing is that my users like to do some filtering of the data sheet itself without regard to the Pivot Tables.

sum quantity and show total for each site.xlsx

View 3 Replies View Related

Import Data From Site Requiring Password?

Oct 19, 2012

import data from a website that requires a login/password (no login page, it pops up in a separate window like when trying to log onto an FTP).

I've got the login/password, and it's a simple call to the page to import it, but each time it asks me to authenticate when connecting (get the "Windows Security" popup asking me to authenticate).

Even when I select "Remember my credentials", it doesn't seem to, and so every time I end up having to manually hit enter to get by it.

Is there any way to pass the login/password information via VBA, or to get the "remember my credentials" to stick?

View 1 Replies View Related

Web Query - Import Just Specific Tables On Site?

Aug 17, 2013

I have a website (National Lacrosse League - 2013 Regular Season - Standings), that I want to pull information off and automatically into Excel.

I have been using web queries on other websites, and they have worked beautifully, however the tables that I want aren't recognised by the web query wizard (no yellow/black arrows). I can import the whole page through a query, however that's not really practical.

Is there a way I can import just specific tables on this site?? I'd like both the 'east' and 'west' tables.

View 8 Replies View Related

Transfer Data To Web Form From Framed Site

Sep 6, 2006

The following code works great:

Sub send_to_UCC()
Dim upcCode
Dim myTextField As Object
upcCode = "0001234512345"
Set appIE = CreateObject("INTERNETEXPLORER.APPLICATION")
appIE.navigate "http://directory.gs1.org/gtin"
appIE.Visible = True
Do While appIE.busy
DoEvents
Loop
With appIE
Set myTextField = .Document.all.Item("queryByGtin_key")
myTextField.Value = upcCode
End With
Set myTextField = Nothing
End Sub...........................

Everything is the same except the URL and the textbox name.

View 6 Replies View Related

Automatic Updating Web Site Status In Cell

May 6, 2007

Cell A1 value is: www.yahoo.com B1 Value should automatically show "Possible"
Cell A1 value is: www.icallindia.net B1 Value should automatically show "Possible"
Cell A1 value is: www.jigarparekh.html B1 Value should automatically show "notvalid"

I need a formula which can automatically see the status of the website address and updated in B column. which means that one dose not need to go to the website page to see if it is correct or not.

I have lot of website in the one sheet and i don't want to go all this website and check if they are correct. I want the status of this website in b column once when i have the website name already in the A column.

View 9 Replies View Related

Pull Until . Found: Pull The Number From The Right Until It Hits The Decimal Sign

Jan 7, 2010

I have a column of numbers each have a 0. infront of them (example 0.2346
0.5698). I want to pull the number from the right until it hits the decimal sign. So for the two above the result would be 2346 and 5698

View 2 Replies View Related

Import Data From A Single Cell In A Table On A Site

Jul 19, 2013

We have a list of around 800 clients containing client id, name and e-mail and i need to add contract number. I can only get the contract number by accessing the admin (password-protected) using a URL that looks like this admin/index.php?client=id.

Problems:

1. if i use the From Web option in excel's data tab, i get the entire table not just the needed cell
2. if i get the data using the above mentioned option, i can only do it from one client at a time

View 5 Replies View Related

Web Query Stay Connected And Get Live Data From A Site?

May 7, 2009

Is there any way to have a web query stay connected and get live data from a site while still being able to use excel at the same time?

Basically the site has information that changes by the second and i need to keep a running record of it, and when it hits the variables needed i want to be able to trigger a set of code.

View 9 Replies View Related

Editing File On Ftp Site (i.e. Opening Not Readonly, Or Downloading First)

Jul 7, 2006

I've got a basic spreadsheet that I edit at home and at work, and I am always forgetting to either email it to myself or copy it to a flash drive. So I figure I'll use my ISPs webspace given to me, and then just edit it on the ftp site from home and work so there is just one copy. I can add the ftp site and my name and password in Excel fine. BUT when I open it, it is always read only. How do I open it with write access? I have specified my ftp username and password in Excel.

View 2 Replies View Related

Repeating Macro Column By Column Until It Hits Blank?

Feb 21, 2014

This is for a template for teachers to analyze student testing data. On sheet4, wrong answers in each column are noted by a lack of a + in the corresponding cell. I want to paste the names of the students who missed each question into sheet 5.

I've done it by repeating a filter macro, but I manually copied the following separately for the 75 columns in the template.

Problem #1 - there must be a more efficient code, something that automatically loops to the next column

Problem #2 - the template has 75 columns, but many tests have fewer questions. I'm trying to find a way to stop the loop whenever it hits a blank cell in Row 10 on sheet 4. I've done it with an if/then in the last section on the above code, but where I'm at now, i would have to add that to the code section for each column. Which isn't that big a deal, but I figure there must be a better way.

The relevant portions of the workbook are attached here.

repeating macro until hits blank cell sample.xlsm

View 4 Replies View Related







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