Hi Folks
Please help me to create new sheet based on date selected in userform (Sheet Name = Date). I have attached a file of what I'm trying to accomplish. Thanks in advance for your expertise!
Joshi
Hi Folks
Please help me to create new sheet based on date selected in userform (Sheet Name = Date). I have attached a file of what I'm trying to accomplish. Thanks in advance for your expertise!
Joshi
Last edited by krjoshi; 12-17-2011 at 04:03 PM.
Understood your problem. So if the sheet already exists, the data should just be appended below right?
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
Hi arlu
Yes, you are right. Can you please help me?
Thanks
Joshi
maybe:
![]()
Please Login or Register to view this content.
Hi Kyle,
Your code is OK. Still having some errors. 1) Your code is pasting the data into Row1 "A1" but I want to paste into Row2 "A2". 2) If the sheet is already exists I want show a warning message like "The Sheet Already exist. The data you have selected copied" and the data should just be appended below into same selected sheet. 3) The "Data" sheet always stays first in the workbook. 4) Once the new sheet created activate the same sheet and always select 1st row "A1".
Thanks
Joshi
in that case:
![]()
Please Login or Register to view this content.
Hi Kyle,
It’s almost OK, still one small error. If i select date continuously its working well . If i select previous date getting this error
Run-Time error ‘1004’:
Select method of Range class failed.
I hope this also you can resolve.
Thanks
Joshi
Last edited by krjoshi; 12-17-2011 at 06:46 AM.
Hi Kyle,
Please help me..
Thanks,
Joshi
Ok try this:
![]()
Please Login or Register to view this content.
Last edited by Kyle123; 12-17-2011 at 04:09 PM.
Thanks,
Its working great...Thanks a lot.
Joshi
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks