Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2006

Tip: Looking for answers? Try searching our database.

Excel formatting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sam Commar - 07 Dec 2006 15:53 GMT
Could someone please help with a macro or any other suggestion to format an
Excel sheet. Basically data is downloaded from a bank every week and the
size of the file can vary but the formatting is constant. That is each
record is 7 lines. So first record is line1-7, second record is line 8-14,
third record is line 15-21 and so on.

I need to format this data and basically I can record a macro for one data
set that is for the record on line 1 to 7. My question is how can I set it
to replicate so that it replicates for line 8-14 and then 15-21 and so on.
The source formatting remains the same except that the total length of the
file( no of records) changes every week.

Thanks very much for your help.

Regards

Sam
KC Rippstein - 07 Dec 2006 17:31 GMT
Sam,
I have had to do this before with a downloaded file from a bank.  I needed
it to convert dates from text and the dollar amounts as currency.
Basically, I just had the macro recorder watch me format my first record set
and go to the beginning of the next record set, turned off the recorder, and
assigned the macro to a good letter combo (like alt+z).  Then I was able to
just sit there and hold down alt+z without lifting my fingers off the
keyboard until I was approaching the end of my recordset, at which point I
let go of the z (but not alt) and deliberately hit the z once for each
remaining record set until I reached the end.  I was dealing with hundreds
and even thousands of transactions per client for about 40 clients each
month, but this method took mere seconds each and every time.

> Could someone please help with a macro or any other suggestion to format
> an
[quoted text clipped - 14 lines]
>
> Sam
Sam Commar - 07 Dec 2006 18:10 GMT
Wow WOW WOW
IF that works nothign like it. I am trying it now.

Thanks a lot.
Sam
> Sam,
> I have had to do this before with a downloaded file from a bank.  I needed
[quoted text clipped - 28 lines]
>>
>> Sam
Sam Commar - 07 Dec 2006 18:28 GMT
Hi Somehow that did not work. It keeps trying to update the first set of my
records. My destination record set is 2 lines. Was your more that one line.

Thanks
Sam
> Wow WOW WOW
> IF that works nothign like it. I am trying it now.
[quoted text clipped - 34 lines]
>>>
>>> Sam
KC Rippstein - 07 Dec 2006 20:08 GMT
Sorry, Sam, my idea won't work for your application.  I was not copying and
pasting, just formatting and moving down, formatting and moving down.
The macro jlepack wrote should work beautifully and is much more intuitive
anyway.

> Hi Somehow that did not work. It keeps trying to update the first set of
> my records. My destination record set is 2 lines. Was your more that one
[quoted text clipped - 41 lines]
>>>>
>>>> Sam
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.