LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sam Sam is offline
external usenet poster
 
Posts: 699
Default exporting data from My Excel to my Web

You are a life saver... thank you so much, I did little modification and it
did work. Thank you. But do you know why sometimes ("%{TAB}") works and
sometimes it doens't focus even though I try it manually before I execute the
macro but then when I execute the macro ("%{TAB}") doesn't work all the time,
sometimes it does focus and sometime it doesn't. one thing I realize though
is that the numlock key is turning off everytime this commnad executed. I
tried it without the first bracket
"%{TAB}" , it didn't to make it to focus all the time.

thoughts?
thank you again.
--
Thank you
Sam :=)


"ryguy7272" wrote:

Ok, no guarantees that this will work, but it will definitely get you going
in the right direction:
Sub kk()
ActiveWorkbook.FollowHyperlink Address:="
http://xxxxxyour-web-site-herexxxxx", NewWindow:=False, AddHistory:=True
Application.WindowState = xlNormal
' Application.SendKeys ("{%TAB}")
Module2.Macro1
Application.SendKeys ("%{TAB}")
Application.SendKeys (Cells(1, 2).Value)
Application.SendKeys ("{TAB}")
Application.SendKeys (Cells(2, 2).Value)
Application.SendKeys ("~")
End Sub

Module2:
Sub Macro1()
Dim r As Integer
For r = 1 To 10
Cells(2, 4).Value = Time
Cells(3, 4).Value = r
Application.Wait (Now + TimeValue("00:00:01"))
Next r
End Sub

Put your username in Cell B1 and your password in Cell B2.

That MIGHT work. I had a similar issue recently. The import process never
worked; never really got it straightened out,...but I did successfully log
into the web site using the code above.

Anyway, login and they you can call another macro to do the web import.

Good luck,
Ryan---
--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sam" wrote:


It is a scure site that I have to log in (univeristy site). After I log in
to the site and then I go to enter the grades.
All of my students grades are already entered in my spreadsheet and would
like to have them automatically submitted to the website. I am not sure if I
made it clear before.

I have copied some of the lines from the source document fromexplorer. not
sure if this will help? Here it is:


<tr class="entergrade_tr"
<td width="10%" colspan="3" align="left"
<span class="no_wrap"
<input type="hidden" id="commentText_9022504006"
name="commentText_9022504006" value=""/
<a onclick="isWithinPage();"
target="_blank"
href="postAttachments.do?irn=9022504006&subject=MA T%2F116+%2F+Week+5+%2F+Discussion+Questions&course OfferingId=18666076"Cindy Coop</a


Thank you so much for your help. I really really apreciate your reply.

--
Thank you
Sam :=)


"ryguy7272" wrote:

Yes, sure, more information is required though. What is the web site? Also,
you have to set up a loop. Are you good with loops?

Ryan---

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Sam" wrote:

Let's say if i have the following data in my Excel sheet:

Employee # Name phone#
----------------------------------------
1 John 111
2 Brian 222
3 cindy 333

And I have a secured website that I want to enter information to it without
fat finguring the information again for example phone # see below:

From my secured autherized website:
Employee # Name phone#
----------------------------------------------------------------
1 John to import john data from my excel sheet ...
2 Brian to import it Brian data from my excel
sheet ...
3 cindy to import cindy's data from my excel
sheet...

Is there a way to import phone # (for example) of the people automatically
from my Excel sheet without fat finguring the information that I have already
entered in my excel sheet?

Thank you
Sam :=)

 
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
Exporting data to Excel Peledon Excel Worksheet Functions 6 July 26th 09 05:12 PM
Exporting data to Excel from VB6/VBA Darren Gulliver Excel Programming 1 August 6th 07 12:17 PM
Exporting data to EXCEL Samir1014 Excel Programming 3 July 30th 07 04:12 AM
Exporting data to Excel simmonsj_98 Excel Programming 1 May 21st 07 08:10 PM
Exporting Data from Excel Volker Jahn Excel Programming 0 January 13th 04 04:20 PM


All times are GMT +1. The time now is 06:55 AM.

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"