Excel VBA
Closed
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
-
Nov 20, 2013 at 08:44 PM
topinwebhost Posts 6 Registration date Wednesday November 20, 2013 Status Member Last seen December 9, 2013 - Dec 9, 2013 at 09:16 AM
topinwebhost Posts 6 Registration date Wednesday November 20, 2013 Status Member Last seen December 9, 2013 - Dec 9, 2013 at 09:16 AM
Related:
- Excel VBA
- Number to words in excel formula without vba - Guide
- Vba case like - Guide
- How to open vba in excel mac - Guide
- Excel marksheet - Guide
- Excel free download - Download - Spreadsheets
5 responses
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Nov 21, 2013 at 10:32 AM
Nov 21, 2013 at 10:32 AM
Hi Topinwebhost,
Well, apparently you know how to put data from userform to specific sheets. Then you will also be able to put that data on the master sheet, right?
To clear the data, figure out which cells you want to clear and use ".clearcontents", to remove data but keep formula's intact.
Let us know where you get stuck.
Best regards,
Trowa
Well, apparently you know how to put data from userform to specific sheets. Then you will also be able to put that data on the master sheet, right?
To clear the data, figure out which cells you want to clear and use ".clearcontents", to remove data but keep formula's intact.
Let us know where you get stuck.
Best regards,
Trowa
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
Nov 21, 2013 at 07:16 PM
Nov 21, 2013 at 07:16 PM
Hi Trowa,
Unfortunately, I am not able to move the data from one sheet of the agent work book to the main book sheet. My question is regarding moving the data between the sheet and next day the same sheet in the main work book should be updated again.
That is., the agents have a log off button in the user form, when they click on the button, all the data from MainPRSheet in agents excel sheet should be moved to MainGLSheet. Now, the MainGLSheet should consists of yesterday's data as well and new set of data should be added in the new row. When copy the data from MainPRSheet in Agents workbook the formulas shouldn't be copied.
Please help me with this.
Regards,
Venkat
Unfortunately, I am not able to move the data from one sheet of the agent work book to the main book sheet. My question is regarding moving the data between the sheet and next day the same sheet in the main work book should be updated again.
That is., the agents have a log off button in the user form, when they click on the button, all the data from MainPRSheet in agents excel sheet should be moved to MainGLSheet. Now, the MainGLSheet should consists of yesterday's data as well and new set of data should be added in the new row. When copy the data from MainPRSheet in Agents workbook the formulas shouldn't be copied.
Please help me with this.
Regards,
Venkat
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Nov 26, 2013 at 10:56 AM
Nov 26, 2013 at 10:56 AM
Hi Venkat,
Without specifics it will be hard to help you, so consider uploading your file using a filesharing site like www.speedyshare.com or ge.tt.
Take a look at the following code, it might steer you in the right direction:
Remember to use .ClearContents to remove data from MainPRSheet on cells without formula's to not mess up the sheets structure.
Best regards,
Trowa
Without specifics it will be hard to help you, so consider uploading your file using a filesharing site like www.speedyshare.com or ge.tt.
Take a look at the following code, it might steer you in the right direction:
Sub RunMe()
Sheets("MainPRSheet").Select
Range("A1").CurrentRegion.Copy
Sheets("MainGLSheet").Range("A" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial Paste:=xlPasteValues
Application.CutCopyMode = False
End Sub
Remember to use .ClearContents to remove data from MainPRSheet on cells without formula's to not mess up the sheets structure.
Best regards,
Trowa
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
Dec 2, 2013 at 05:48 PM
Dec 2, 2013 at 05:48 PM
I have uploaded the Title_production_report.xlsm file http://www.astmng.com/downloads/Title_production_report.xlsm.zip . The username and password to access the above link are. username: astmng and password: changeme@123 . Now, basically, this is a system that allows employees to update their minute wise Call Center production. The steps to be followed are as follows:
1. The employee will only be provided with the option to click on Login Button which is available on the ProductionSheet.
2. When the employee clicks, he/she will be prompted to enter the username and password.
3. When successful, they will start updating their production sheet.
4. All the data that is saved through usrfrm_productionsheet will be updated in "PR" sheet and at the same time, some formulas will be added and further updated in the MainPRSheet.
5. We are looking for a functionality as follows:
- You should be able to see a red colored log off button on the top right corner.
- When the employee clicks on this button.
- The data that they have updated should be copied and pasted to a different workbook named MainGLBook -> Sheet1 and to the first empty cell. And after that the PR sheet in Title_Production_report should be emptied for next days updating.
Note: We will have "N" number of employees clickng on the log off button at the same time. It is true that every employee will have separate work book, but the destination workbook MainGLBook will be same. So, we are looking for a solution wherein the data is not overwritten.
Please help. I'll really be greatful for your help.
Thanks in advance.
1. The employee will only be provided with the option to click on Login Button which is available on the ProductionSheet.
2. When the employee clicks, he/she will be prompted to enter the username and password.
3. When successful, they will start updating their production sheet.
4. All the data that is saved through usrfrm_productionsheet will be updated in "PR" sheet and at the same time, some formulas will be added and further updated in the MainPRSheet.
5. We are looking for a functionality as follows:
- You should be able to see a red colored log off button on the top right corner.
- When the employee clicks on this button.
- The data that they have updated should be copied and pasted to a different workbook named MainGLBook -> Sheet1 and to the first empty cell. And after that the PR sheet in Title_Production_report should be emptied for next days updating.
Note: We will have "N" number of employees clickng on the log off button at the same time. It is true that every employee will have separate work book, but the destination workbook MainGLBook will be same. So, we are looking for a solution wherein the data is not overwritten.
Please help. I'll really be greatful for your help.
Thanks in advance.
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Dec 3, 2013 at 11:42 AM
Dec 3, 2013 at 11:42 AM
Sorry topinwebhost, I can't open zip files and could you resave your file with an .xls extention, since I'm still using Excel 2003.
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
Dec 3, 2013 at 01:38 PM
Dec 3, 2013 at 01:38 PM
I have uploaded the Title_production_report.xls file http://www.astmng.com/downloads/Title_production_report.xls . The username and password to access the above link are. username: astmng and password: changeme@123
TrowaD
Posts
2921
Registration date
Sunday September 12, 2010
Status
Moderator
Last seen
December 27, 2022
555
Dec 5, 2013 at 10:12 AM
Dec 5, 2013 at 10:12 AM
Hi topinwebhost,
Note: I didn't need a username or password to open your file.
Your file is pretty empty. Your login button doesn't do anything and I can't find the log off button. If this is a version issue you might be better off starting a new thread asking for help from someone with at least your version of Excel.
You might want to think about how one is to know which info has been updated by a user.
Best regards,
Trowa
Note: I didn't need a username or password to open your file.
Your file is pretty empty. Your login button doesn't do anything and I can't find the log off button. If this is a version issue you might be better off starting a new thread asking for help from someone with at least your version of Excel.
You might want to think about how one is to know which info has been updated by a user.
Best regards,
Trowa
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
Dec 5, 2013 at 05:25 PM
Dec 5, 2013 at 05:25 PM
Hi Trowa,
I am sorry, but did you try accessing VBA interface. I have many forms there, I have tried accessing the Xls version on 2003 excel installed computer and was able to see the form. Please ignore the button on the sheet. Please go to VBA by pressing Alt+F11 and there you will see usrfrm_loginprompt which is the login interface and the employee report form is usrfrm_productionsheet where you will be able to find the logoff button. Please give it a last try.
If you fail, then I am letting this project go all away as no one seems to be able to help me :(
Thanks.
I am sorry, but did you try accessing VBA interface. I have many forms there, I have tried accessing the Xls version on 2003 excel installed computer and was able to see the form. Please ignore the button on the sheet. Please go to VBA by pressing Alt+F11 and there you will see usrfrm_loginprompt which is the login interface and the employee report form is usrfrm_productionsheet where you will be able to find the logoff button. Please give it a last try.
If you fail, then I am letting this project go all away as no one seems to be able to help me :(
Thanks.
Didn't find the answer you are looking for?
Ask a question
topinwebhost
Posts
6
Registration date
Wednesday November 20, 2013
Status
Member
Last seen
December 9, 2013
Dec 9, 2013 at 09:16 AM
Dec 9, 2013 at 09:16 AM
Please any help on this will be great.