How To Get A Set Entries To Paste To The Bottom Of The Correct Sheet

  • Thread starter Thread starter Minitman
  • Start date Start date
M

Minitman

Greetings,

Here is the second question:

After I have entered the information I need into my UserForm
TextBoxes, I need it placed into a spreadsheet. But not just any
spreadsheet! I have my sheets named by month (mmm-yy). What I need
is a way for the code to determine which sheet to place this record at
the bottom of. I need this to be determine by the date entered into
TextBox_3.

Any help would be most appreciated.

TIA

-Minitman
 
Dim dt as Date
Dim sh as Worksheet
dt = cDate(Textbox_3.Text)
Set sh = worksheets(format(dt,"mmm-yy"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top