Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I add a new row?

Hi,
I want to create a button when I click on it a new row will apper.

In need the code in VBS.

Thanks for all the helpers.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default How do I add a new row?

With a cell in Col A selected this will insert a new row above the selected
cell.

Sub insertrow()
ActiveCell.Insert Shift:=xlDown
End Sub

"DorZki" wrote:

Hi,
I want to create a button when I click on it a new row will apper.

In need the code in VBS.

Thanks for all the helpers.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default How do I add a new row?

Record a macro in Excel and see the code.
Amend for your VBScript environment.

NickHK

"DorZki" wrote in message
...
Hi,
I want to create a button when I click on it a new row will apper.

In need the code in VBS.

Thanks for all the helpers.



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



All times are GMT +1. The time now is 04:54 PM.

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

About Us

"It's about Microsoft Excel"