Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
tom tom is offline
external usenet poster
 
Posts: 570
Default Insert row on diff sheet IF

Thanks Pranav!

"Pranav Vaidya" wrote:

Hope this helps-

Sheets("NF").Activate
If Range("C2").Value = 2 And Range("C3").Value = 1 Then
Sheets("BK").Activate
Range("A39").Insert xlDown
Range("C39").Value = "DCD"
Range("G39").Value = "RN"
End If

--
Pranav Vaidya
VBA Developer
PN, MH-India


"Tom" wrote:

On sheet "NF", IF C2=2 and C3=1, then I would like a blank row inserted on
sheet "BK" at row 39. If those two conditions are not met, then Do Nothing.
IF the conditions are met and the row is inserted, then I would like C39 on
"BK" to have "DCD" entered into it and "RN" placed in cell G39.

Thanks in advance!


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
make formula look at diff sheet wx4usa Excel Discussion (Misc queries) 5 December 26th 09 07:07 PM
plotting column chart whch colors the bars diff for diff comm Cathy Charts and Charting in Excel 5 March 19th 09 06:30 PM
SUMIF formula required to search for 2 diff values in 2 diff colum Lidy693 Excel Worksheet Functions 7 February 21st 09 09:45 PM
how you make links between diff. cells on diff. work sheets NYC-MIKE Excel Worksheet Functions 3 February 11th 08 05:05 PM


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