Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Downloading Refreshed Web Query Data into Adjacent Column

Hi,

Assuming I have a web query that returns a column of data, is there away
that every time I refresh the web query that it downloads refreshed data into
the adjacent column automatically?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Downloading Refreshed Web Query Data into Adjacent Column

Wasn't this asked and answered already?
Create a macro to copy/paste the data to another sheet run the refresh.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Hi,

Assuming I have a web query that returns a column of data, is there away
that every time I refresh the web query that it downloads refreshed data
into
the adjacent column automatically?




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Downloading Refreshed Web Query Data into Adjacent Column

Thanks... could you point me to the post that has this macro script to
perpetually copy/paste to an adjacent column on another worksheet? I've been
searching for an hour now and no luck.

So from worksheet 1 col a, paste to worksheet 2 col b, then worksheet 1 col
a to worksheet 2 col c, then worksheet 1 col a to worksheet 2 col d, etc...

where the columns to be pasted to are not defined by column headings, but
the next available empty column.

I suck at macros, by the way... thanks for your help!



Wasn't this asked and answered already?
Create a macro to copy/paste the data to another sheet run the refresh.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Hi,

Assuming I have a web query that returns a column of data, is there away
that every time I refresh the web query that it downloads refreshed data
into
the adjacent column automatically?





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,124
Default Downloading Refreshed Web Query Data into Adjacent Column

this will do it from your workbook
Sub transposequerydata() 'Don Guillett SalesAid Software
With Sheets("WebQuery")
sfr = .Cells.Find("DJ Industrial Average").Row
sfc = .Cells.Find("DJ Industrial Average").Column + 1
slr = .Cells(Rows.Count, "b").End(xlUp).Row
dlr = Sheets("Database Transpose") _
.Cells(Rows.Count, "b").End(xlUp).Row + 1
.Range(Cells(sfr, sfc), Cells(slr, sfc)).Copy
Sheets("Database Transpose").Cells(dlr, "b") _
.PasteSpecial Paste:=xlPasteAll, Transpose:=True
End With
Application.CutCopyMode = False
End Sub

--
Don Guillett
SalesAid Software

"Don Guillett" wrote in message
...
Probably just easier to send me the workbook.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Thanks... could you point me to the post that has this macro script to
perpetually copy/paste to an adjacent column on another worksheet? I've
been
searching for an hour now and no luck.

So from worksheet 1 col a, paste to worksheet 2 col b, then worksheet 1
col
a to worksheet 2 col c, then worksheet 1 col a to worksheet 2 col d,
etc...

where the columns to be pasted to are not defined by column headings, but
the next available empty column.

I suck at macros, by the way... thanks for your help!



Wasn't this asked and answered already?
Create a macro to copy/paste the data to another sheet run the refresh.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Hi,

Assuming I have a web query that returns a column of data, is there
away
that every time I refresh the web query that it downloads refreshed
data
into
the adjacent column automatically?











  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 177
Default Downloading Refreshed Web Query Data into Adjacent Column

thanks!

"Don Guillett" wrote:

this will do it from your workbook
Sub transposequerydata() 'Don Guillett SalesAid Software
With Sheets("WebQuery")
sfr = .Cells.Find("DJ Industrial Average").Row
sfc = .Cells.Find("DJ Industrial Average").Column + 1
slr = .Cells(Rows.Count, "b").End(xlUp).Row
dlr = Sheets("Database Transpose") _
.Cells(Rows.Count, "b").End(xlUp).Row + 1
.Range(Cells(sfr, sfc), Cells(slr, sfc)).Copy
Sheets("Database Transpose").Cells(dlr, "b") _
.PasteSpecial Paste:=xlPasteAll, Transpose:=True
End With
Application.CutCopyMode = False
End Sub

--
Don Guillett
SalesAid Software

"Don Guillett" wrote in message
...
Probably just easier to send me the workbook.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Thanks... could you point me to the post that has this macro script to
perpetually copy/paste to an adjacent column on another worksheet? I've
been
searching for an hour now and no luck.

So from worksheet 1 col a, paste to worksheet 2 col b, then worksheet 1
col
a to worksheet 2 col c, then worksheet 1 col a to worksheet 2 col d,
etc...

where the columns to be pasted to are not defined by column headings, but
the next available empty column.

I suck at macros, by the way... thanks for your help!



Wasn't this asked and answered already?
Create a macro to copy/paste the data to another sheet run the refresh.

--
Don Guillett
SalesAid Software

"SteveC" wrote in message
...
Hi,

Assuming I have a web query that returns a column of data, is there
away
that every time I refresh the web query that it downloads refreshed
data
into
the adjacent column automatically?










Reply
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
Column changes when data is refreshed Eddie Mc Excel Discussion (Misc queries) 0 November 11th 10 06:58 PM
Fill column adjacent to external query (Excel 2007) Andi Excel Discussion (Misc queries) 0 May 4th 09 08:24 PM
Column width of Pivot Table data goes back to default when data refreshed Rick J Excel Discussion (Misc queries) 5 September 16th 08 08:36 AM
When data match, copy adjacent value to adjacent column slimbim Excel Worksheet Functions 2 November 8th 06 08:41 PM
How to Process Query Data after Query is Refreshed rajpuneyani Excel Programming 2 July 30th 04 02:13 PM


All times are GMT +1. The time now is 10:41 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"