#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default adding row

i have a spread sheet where i have to record some events. the first row is
already formatted and the first cell of the row has a number 1.
i would like a macro to automatically create another line each time a press
a button and that would increase the number of the first cell from the
previous line.

numberheader2 | header3
--------+---------+---------
1 | bla bla | zzz zzzz
2 | qwfjkd | jjioeereorko
3 | gdfgfgf | frefsdfdf

i would like a macro that associated to a button automatically add a line
below the last one, keeping the same formatting of the cells and in the line
added increase the column "number" by 1

in order to have:
number | header2 | header3
--------+---------+---------
1 | bla bla | zzz zzzz
2 | qwfjkd | jjioeereorko
3 | gdfgfgf | frefsdfdf
4 | |
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding 4 cells next to eachother and then adding the following fourcells [email protected] Excel Programming 3 May 29th 08 09:00 AM
adding some rows in the middle of adding some other rows Janis Excel Programming 3 October 4th 07 03:20 AM
adding ref # John K Excel Worksheet Functions 2 March 7th 07 06:06 PM
Adding 1 Zaahir Excel Programming 2 October 18th 06 02:09 PM
Adding * to the end Lin Light Excel Discussion (Misc queries) 0 March 14th 05 10:41 PM


All times are GMT +1. The time now is 11:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"