Excel Macro help

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

blaircj

Thread Starter
Joined
Jul 16, 2008
Messages
7
Hi, I've had great success with this form before and was looking for some more help on an Excel spread sheet. I've created a macro that inputs data onto a separate sheet, entered from a template sheet. The macro executes using a button and i was wondering if there was a line of code that could bring the input cell back to the first entry position, after the button in clicked and the inputs are erased. I've attached the input section of my program if anyone would like to look at it. Thanks for any help.
 

Attachments

Joined
Jul 1, 2005
Messages
8,546
After which button is clicked? (you have 3)

Regardless, just add Range("C2").Select at the end of the code.

And while you're at it, replace:

Range("C2:C3:C4:C5:C6:C7:C8").ClearContents

with:

Range("C2:C8").ClearContents

HTH
 

blaircj

Thread Starter
Joined
Jul 16, 2008
Messages
7
Thanks Bomb 21 that's exactly what i was looking for, it was for all three buttons by the way. I think your sample input file (on a previous post) was the base of where i created this spreadsheet, so thanks again.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Top