#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto insert

Hiya again!

i have this so far

Sub Clear_details()
Worksheets("Details").Range("E10").ClearContents
End Sub

Which clears a cell. I also need this function fo insert into a cell E13
"Please select"


thx


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080107-0, 07/01/2008
Tested on: 08/01/2008 10:07:53
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Auto insert

Try this

Sub Clear_details()
With Worksheets("Details")
.Range("E10").ClearContents
.Range("E13").Value = "Please Select"
End With
End Sub

Mike

"Steve" wrote:

Hiya again!

i have this so far

Sub Clear_details()
Worksheets("Details").Range("E10").ClearContents
End Sub

Which clears a cell. I also need this function fo insert into a cell E13
"Please select"


thx


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080107-0, 07/01/2008
Tested on: 08/01/2008 10:07:53
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto insert

?B?TWlrZSBI?= wrote in
:

With Worksheets("Details")
.Range("E10").ClearContents
.Range("E13").Value = "Please Select"
End With


Super.

thanks Mike


---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080107-0, 07/01/2008
Tested on: 08/01/2008 11:02:43
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com



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
Need VBA script to auto-insert value upon row insert Phil Excel Worksheet Functions 4 May 6th 08 02:41 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
Auto Insert/Auto Formula? Abacus Excel Worksheet Functions 1 February 3rd 06 11:33 AM
auto row insert Tsurphr Excel Worksheet Functions 0 October 11th 05 02:27 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 03:35 PM.

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"