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

Worksheets("Data").Activate
Range("b4:m4").Select
Selection.ClearContents
Range("b4").Select
Worksheets("MailE").Activate
Range("b4:m4").Select
Selection.ClearContents
Range("b4").Select ' don't need this right'

This is from a userform option button. Problem when clicked it clears
contents and leaves row blocked until you close userform. I am missing
something.
Thanks to all the community All Of you are a great asset


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default not completeing mission

This clears the cells without moving the cuusor, so the
row won't be "blocked".
Sub ClrCntns()
Worksheets("Data").Activate
Range("b4:m4")..ClearContents
Worksheets("MailE").Activate
Range("b4:m4").ClearContents
End Sub

"Curt" wrote:

Worksheets("Data").Activate
Range("b4:m4").Select
Selection.ClearContents
Range("b4").Select
Worksheets("MailE").Activate
Range("b4:m4").Select
Selection.ClearContents
Range("b4").Select ' don't need this right'

This is from a userform option button. Problem when clicked it clears
contents and leaves row blocked until you close userform. I am missing
something.
Thanks to all the community All Of you are a great asset


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
Mission Impossible? Greg Excel Discussion (Misc queries) 3 March 22nd 09 06:14 PM
Pivot table column creation: Mission Impossible ? mrchong Excel Discussion (Misc queries) 7 April 19th 06 04:41 PM
EXCEL MISSION IMPOSSIBLE ? hkappleorange Excel Discussion (Misc queries) 11 September 12th 05 07:19 PM
PIVOT TABLE + HYPELINK: Mission Impossible ? hkappleorange Links and Linking in Excel 1 August 31st 05 03:36 AM
Mission Impossible sal21[_35_] Excel Programming 1 September 24th 04 08:03 PM


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