Home Menu

Site Navigation


Notices

General Chat General discussion. Want to chat about anything not covered in another forum - This is the place!

Reply
 
Thread Tools Search this Thread Display Modes
Old 24-03-2010, 10:03 PM #1
Lae Lae is offline
Member
 
Join Date: Jun 2009
Posts: 34
Lae Lae is offline
Member
 
Join Date: Jun 2009
Posts: 34
Default Anyone here any good with Excel?

Hey all, basically I want to create a Reset macro that clears the contents of certain cells, but also resets the combo boxes to "Please Select". Here's some visual aid



Here's the code I'm using now, pretty basic. Really appreciate it if anyone can help

Sub Reset()
'
' Reset Macro
'
'
' Keyboard Shortcut: Ctrl+z
'

Range("E8").Select
Selection.ClearContents
Range("E9").Select
Selection.ClearContents
Range("E10").Select
Selection.ClearContents
Range("E11").Select
Selection.ClearContents
Range("E12").Select
Selection.ClearContents
Range("E13").Select
Selection.ClearContents
Range("E14").Select
Selection.ClearContents
Range("E15").Select
Selection.ClearContents
Range("E16").Select
Selection.ClearContents
Range("E17").Select
Selection.ClearContents
Range("E18").Select
Selection.ClearContents
Range("E19").Select
Selection.ClearContents
Range("E20").Select
Selection.ClearContents
Range("E21").Select
Selection.ClearContents
Range("H12").Select
Selection.ClearContents
Range("I6").Select
Selection.ClearContents
Range("I7").Select
Selection.ClearContents
Range("I8").Select
Selection.ClearContents
Range("I4").Select
Selection.ClearContents
Range("C3").Select

End Sub
Lae is offline   Reply With QuoteReply With Quote
Old 24-03-2010, 10:04 PM #2
Iceman's Avatar
Iceman Iceman is offline
REVIVAL
 
Join Date: May 2007
Posts: 49,008


Iceman Iceman is offline
REVIVAL
Iceman's Avatar
 
Join Date: May 2007
Posts: 49,008


Default

sorry i did it 3 years ago and cant remember a thing......
__________________
WALK ON WATER
Iceman is offline   Reply With QuoteReply With Quote
Old 25-03-2010, 04:52 PM #3
Lae Lae is offline
Member
 
Join Date: Jun 2009
Posts: 34
Lae Lae is offline
Member
 
Join Date: Jun 2009
Posts: 34
Default

Bump
Lae is offline   Reply With QuoteReply With Quote
Old 25-03-2010, 05:45 PM #4
ILoveTRW ILoveTRW is offline
Banned
 
Join Date: Aug 2007
Location: The Real World
Posts: 12,609

Favourites (more):
BB13 USA: Rachel
UBB: Brian


ILoveTRW ILoveTRW is offline
Banned
 
Join Date: Aug 2007
Location: The Real World
Posts: 12,609

Favourites (more):
BB13 USA: Rachel
UBB: Brian


Default

you should be using Microsoft Access for databases
ILoveTRW is offline   Reply With QuoteReply With Quote
Reply

Bookmark/share this topic

Tags
excel, good


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:35 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
 

About Us ThisisBigBrother.com

"Big Brother and UK Television Forum. Est. 2001"

 

© 2023
no new posts