Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Workbook_SheetChange

Hi

Is it somehow possible to check if a row's been inserted? Is there any
construct of code or do I need to loop through a field and check that
'manually'?

thanks for help

masterphilch
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Workbook_SheetChange

M,
Name the range and check the Rows.Count.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"masterphilch" wrote in message

Hi
Is it somehow possible to check if a row's been inserted? Is there any
construct of code or do I need to loop through a field and check that
'manually'?
thanks for help
masterphilch
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Workbook_SheetChange

thanks for that hint!

could it be possible to determine the start- and endrow of that named range?

thanks for reply

Jim Cone schrieb:
M,
Name the range and check the Rows.Count.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"masterphilch" wrote in message

Hi
Is it somehow possible to check if a row's been inserted? Is there any
construct of code or do I need to loop through a field and check that
'manually'?
thanks for help
masterphilch

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Workbook_SheetChange

One way:

Dim nStartRow As Long
Dim nEndRow As Long
With Range("MyRange")
nStartRow = .Item(1).Row
nEndRow = .Item(.Count).Row
End With


In article ,
masterphilch wrote:

could it be possible to determine the start- and endrow of that named range?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Workbook_SheetChange

m,

With Range("PhilchArea")
MsgBox .Rows(1).Row & " is the first row. "
MsgBox .Rows(.Rows.Count).Row & " is the last row. "
End With

Jim Cone
San Francisco, USA


"masterphilch" wrote in message

thanks for that hint!
could it be possible to determine the start- and endrow of that named range?
thanks for reply



Jim Cone schrieb:
M,
Name the range and check the Rows.Count.
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"masterphilch" wrote in message

Hi
Is it somehow possible to check if a row's been inserted? Is there any
construct of code or do I need to loop through a field and check that
'manually'?
thanks for help
masterphilch



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Workbook_SheetChange

thanks a lot!

JE McGimpsey schrieb:
One way:

Dim nStartRow As Long
Dim nEndRow As Long
With Range("MyRange")
nStartRow = .Item(1).Row
nEndRow = .Item(.Count).Row
End With


In article ,
masterphilch wrote:

could it be possible to determine the start- and endrow of that named range?

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
Workbook_SheetChange not working RAP Excel Programming 7 August 27th 05 04:40 PM
Workbook_SheetChange Matt B[_3_] Excel Programming 3 April 25th 05 01:40 PM
Workbook_sheetChange event J S Excel Programming 0 August 9th 04 07:16 PM
workbook_sheetchange JulieD Excel Programming 1 June 14th 04 04:32 AM
Workbook_SheetChange will not fire Robert Willard Excel Programming 1 September 10th 03 07:52 PM


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