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
Access automation leaves Excel open which in turn locks 2nd automation attempts EagleOne@discussions.microsoft.com Microsoft Access 8 30th Jun 2008 01:27 AM
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft Word Document Management 0 19th Jul 2007 10:15 PM
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft ASP .NET 0 19th Jul 2007 10:10 PM
Supressing the ctrl-c and other keys during word automation in automation apondu Microsoft Excel Programming 0 19th Jul 2007 10:10 PM
Excel/automation Gurus., please help... extract macros from excel and adding new macros into an excel sheet. OhMyGaw Microsoft C# .NET 3 10th Aug 2005 01:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.