PC Review


Reply
Thread Tools Rate Thread

automation - import into excel

 
 
Tracy
Guest
Posts: n/a
 
      26th Mar 2010
hello,

i'm trying to find out if there is a way to open an existing spreadsheet and
have the columns rearranged automatically.
soon i will have to download a .txt file daily, which i need to use in excel
the problem is that the .txt file has several columns of data that i don't
need and the columns of data that i need is not in the right order.
i really do not want to have to sit and rearrange the columns of data that i
need every day, so i'm curious if there is something that i could set up, so
that when i open the .txt file in excel, i only get the data that i need.

any help would be greatly appreciated.

thank you

--


Tracy
* * * * * * * * * *


 
Reply With Quote
 
 
 
 
JLatham
Guest
Posts: n/a
 
      26th Mar 2010
Tracy,
You could record a macro while going through your manual process. Then in
the future you can import your data and then run that macro to repeat the
process with just a few clicks of the mouse.

Remember that the macro you record is going to perform exactly what you did
when you recorded it, including using the same sheet names and columns/rows
and all.

If you need it to be more "robust", you could record the macro and then post
back asking how to make it more flexible. Be sure you paste a copy of the
macro code with that request if you make the request.

"Tracy" wrote:

> hello,
>
> i'm trying to find out if there is a way to open an existing spreadsheet and
> have the columns rearranged automatically.
> soon i will have to download a .txt file daily, which i need to use in excel
> the problem is that the .txt file has several columns of data that i don't
> need and the columns of data that i need is not in the right order.
> i really do not want to have to sit and rearrange the columns of data that i
> need every day, so i'm curious if there is something that i could set up, so
> that when i open the .txt file in excel, i only get the data that i need.
>
> any help would be greatly appreciated.
>
> thank you
>
> --
>
>
> Tracy
> * * * * * * * * * *
>
>
> .
>

 
Reply With Quote
 
Tracy
Guest
Posts: n/a
 
      26th Mar 2010
hi j latham

fantastic idea ! ! ! !

thank you so much.


--


Tracy
* * * * * * * * * *

"JLatham" <(E-Mail Removed)> wrote in message
news:40A15653-BFAC-4F9D-B91F-(E-Mail Removed)...
: Tracy,
: You could record a macro while going through your manual process. Then in
: the future you can import your data and then run that macro to repeat the
: process with just a few clicks of the mouse.
:
: Remember that the macro you record is going to perform exactly what you
did
: when you recorded it, including using the same sheet names and
columns/rows
: and all.
:
: If you need it to be more "robust", you could record the macro and then
post
: back asking how to make it more flexible. Be sure you paste a copy of the
: macro code with that request if you make the request.
:
: "Tracy" wrote:
:
: > hello,
: >
: > i'm trying to find out if there is a way to open an existing spreadsheet
and
: > have the columns rearranged automatically.
: > soon i will have to download a .txt file daily, which i need to use in
excel
: > the problem is that the .txt file has several columns of data that i
don't
: > need and the columns of data that i need is not in the right order.
: > i really do not want to have to sit and rearrange the columns of data
that i
: > need every day, so i'm curious if there is something that i could set
up, so
: > that when i open the .txt file in excel, i only get the data that i
need.
: >
: > any help would be greatly appreciated.
: >
: > thank you
: >
: > --
: >
: >
: > Tracy
: > * * * * * * * * * *
: >
: >
: > .
: >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import an Excel Macro via automation =?Utf-8?B?Q2hyaXM=?= Microsoft Access VBA Modules 1 4th Jul 2006 06:03 AM
Import automation, selected mdb fields from server to Excel =?Utf-8?B?amFtZXM=?= Microsoft Excel Programming 0 18th Nov 2005 10:40 PM
Help with Excel Automation Import DoctorV3774 via AccessMonster.com Microsoft Access VBA Modules 1 27th Apr 2005 10:45 PM
Help with Excel Automation Import DoctorV3774 via AccessMonster.com Microsoft Access VBA Modules 0 27th Apr 2005 08:49 PM
Automation of excel spreadsheet import to SQL database =?Utf-8?B?Q2hyaXM=?= Microsoft Dot NET 0 20th Apr 2005 04:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:44 PM.