#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Insert Row

Hi everyone
i stucked in this Excel VbA programme and already spent 3 days in
solving this cant afford to spend more so plz help me out

1] I want to insert an empty cell above the cell value which
gives"D" 10

where : "D" = Sqr((r.Value - r.Offset(-1, 0).Value) ^ 2 +
(r.Offset(0,
1).Value - r.Offset(-1, 1).Value) ^ 2)
[D = dqrt(((x2-x1)^2+(y2-y1)^2)) ]

For Example
"D" = 11 for cell a90 , b90 & a 91 , b91 value......then insert
cell above a91 and b 91

similarly wherevr we get "d" 10

2} Now the second part, copy all the value before first empty cel
occurs
say in row a91 empty cell ocurs so code shud copy all values above
empty cell n paste the a1:b91 values in col.c n col.d [c1:d91]

like wise if again empty cell occur at a140 then copy values from
a92:b139 n paste them to col .e & col.f [E1:F47]

like wise for other values i have data set of 2000 values which vary
according to input taken by user

if prblem is not framed properly plz let me knw
plz suggest some vba code/ideas
if u hav n some sites from wher i can learn such kinda code

many thanx in advance
all replys ar welcome
i hop get response from this group

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 142
Default Insert Row



Looks like you double posted.

I 2 hop u git sum hlp...

What happened to English and grammer?

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
How can I insert a date with an icon (calendar) insert Alfredo Mederico[_2_] Excel Discussion (Misc queries) 4 September 21st 07 01:20 AM
Macro to insert copy and insert formulas only to next blank row bob Excel Programming 0 June 30th 06 12:02 PM
Can I auto insert a worksheet when I insert a value in a cell. iainc Excel Worksheet Functions 0 April 27th 06 08:37 AM
Insert Next? Or insert a variable number of records...how? Tom MacKay Excel Discussion (Misc queries) 0 April 20th 06 10:44 PM
Insert cell/format/text/fontsize and auto insert into header? Unfurltheflag Excel Programming 2 November 3rd 04 05:39 PM


All times are GMT +1. The time now is 10:23 AM.

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"