Previous in Forum: Visual Basic - Getting Started   Next in Forum: how to put site on the web
Close
Close
Close
3 comments
Rate Comments: Nested
Anonymous Poster

MS Excel query

01/08/2009 4:39 AM

i prepared following a table in MS Excel

Roll No.

Name

Marathi

Hindi

English

Maths

Science

History

Total

00001ABCD505550607068

353

00002ASADDAD555635555635

292

00003XZCCV XZV245748245748

258

00004DSGFAG858475858475

488

00005AGFDG212765212765

226

00006RGTT533528533528

232

00007HJKLGL484845484845

282

00008VXVFXB861578861578

358

00009SFEF524715524715

228

00010SGDA456848456848

322

00011GBFGFD524575524575

344

00012GFDHS887828887828

388

00013RDT442545442545

228

00014FRDT553587553587

354

00015YERS665456665456

352

00016GSRY357845357845

316

00017JYJT586556586556

358

00018SAHJK569554569554

410

00019BVQW452845452845

236

00020SAJJK444555444555

288

i want individual printout like following

Roll No.00001
NameABCD
Marathi50
Hindi55
English50
Maths60
Science70
History68
Total353

How to do this in MS Excel

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Mar 2007
Posts: 2550
Good Answers: 103
#1

Re: MS Excel query

01/08/2009 5:49 AM

Select the table,

Copy the area

Paste special (put a tick mark in transpose)

You get the transposed table (row↔columns)

Select each block and print.

In these cases (i have some times needed but not for this application- sometime i analyse partlist etc from net and check for similarities for material requisition = alas now SAP is about to come in and all those will be waste) - I have a good ol' foxpro - i save the file as dbf , then with small prg file i can do whatever i want, i have always found it easier to database manipulate with dbms rather than excel

You can try these in other db platforms too by exporting (less number of keyboard click than than excel)

__________________
Fantastic ideas for a Fantastic World, I make the illogical logical.They put me in cars,they put me in yer tv.They put me in stereos and those little radios you stick in your ears.They even put me in watches, they have teeny gremlins for your watches
Reply Score 1 for Good Answer
Power-User

Join Date: Oct 2008
Location: Meherrin Virginia
Posts: 319
Good Answers: 6
#2

Re: MS Excel query

01/08/2009 10:03 AM

I haven't tried it but how about defining the print area using the CTRL key?

__________________
If you fail to follow through, you will fail.
Reply
Anonymous Poster
#3

Re: MS Excel query

01/08/2009 6:44 PM

highlight the area you want to print out - right click and copy - locate the curser on a new cell and right click and choose paste special when new drop down opens check transpose and click ok - you will have they lay out you want, so you can print by setting the print area.

Reply Score 1 for Good Answer
Reply to Forum Thread 3 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); otha (1); sb (1)

Previous in Forum: Visual Basic - Getting Started   Next in Forum: how to put site on the web

Advertisement