+ Reply to Thread
Results 1 to 6 of 6

Downloading Refreshed Web Query Data into Adjacent Column

  1. #1
    SteveC
    Guest

    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. #2
    Don Guillett
    Guest

    Re: 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
    [email protected]
    "SteveC" <[email protected]> wrote in message
    news:[email protected]...
    > 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. #3
    SteveC
    Guest

    Re: 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
    > [email protected]
    > "SteveC" <[email protected]> wrote in message
    > news:[email protected]...
    > > 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?
    > >
    > >

    >
    >
    >


  4. #4
    Don Guillett
    Guest

    Re: Downloading Refreshed Web Query Data into Adjacent Column

    Probably just easier to send me the workbook.

    --
    Don Guillett
    SalesAid Software
    [email protected]
    "SteveC" <[email protected]> wrote in message
    news:[email protected]...
    > 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
    >> [email protected]
    >> "SteveC" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > 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. #5
    Don Guillett
    Guest

    Re: 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
    [email protected]
    "Don Guillett" <[email protected]> wrote in message
    news:[email protected]...
    > Probably just easier to send me the workbook.
    >
    > --
    > Don Guillett
    > SalesAid Software
    > [email protected]
    > "SteveC" <[email protected]> wrote in message
    > news:[email protected]...
    >> 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
    >>> [email protected]
    >>> "SteveC" <[email protected]> wrote in message
    >>> news:[email protected]...
    >>> > 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. #6
    SteveC
    Guest

    Re: 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
    > [email protected]
    > "Don Guillett" <[email protected]> wrote in message
    > news:[email protected]...
    > > Probably just easier to send me the workbook.
    > >
    > > --
    > > Don Guillett
    > > SalesAid Software
    > > [email protected]
    > > "SteveC" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> 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
    > >>> [email protected]
    > >>> "SteveC" <[email protected]> wrote in message
    > >>> news:[email protected]...
    > >>> > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1