Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Insert New Row on Sheet Not in Focus

Is there a code that I can assign to a command button located in sheet
1 that inserts a new row in sheet 3-without activating sheet 3
(putting it in focus)??

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Insert New Row on Sheet Not in Focus

Hi Bull:

worksheets("sheet 3").rows(insert row number here).insert
or
worksheets("sheet 3").range("C5").entirerow.insert

--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"Bull" wrote:

Is there a code that I can assign to a command button located in sheet
1 that inserts a new row in sheet 3-without activating sheet 3
(putting it in focus)??


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
Using Advanced Filter w/o having to set focus on the sheet Chris Excel Programming 0 August 6th 06 12:50 AM
HELP!! Unhide Sheet with Macro and focus on other sheet [email protected] Excel Discussion (Misc queries) 2 May 23rd 06 07:17 PM
Giving focus to a particular sheet R A Excel Programming 2 December 16th 04 08:20 AM
Focus sheet Max Potters Excel Programming 3 October 4th 04 06:53 AM
Adding a new sheet (no focus) SOS[_26_] Excel Programming 2 September 3rd 04 09:19 AM


All times are GMT +1. The time now is 04:36 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"