I'm a basic user and found this template that fits my needs. The only problem is when I put a alphanumeric value in columns A and B the functionality doesn't work. Can any one help?
File attached.
I'm a basic user and found this template that fits my needs. The only problem is when I put a alphanumeric value in columns A and B the functionality doesn't work. Can any one help?
File attached.
Hi
I looked at the file and found it does work as expected
as long as you change all references to an employee in both columns A and B.
Additionally, this line in the macro should be adjusted
.Value = .Value & Format(cell.Value, "00000.")
to
.Value = .Value & Format(cell.Value, "00000") & "."
Unfortunately, the results won't be formatted as nicely as when numbers were used for employee IDs.
- Stu
If this has been helpful, please click on the star at the left.
You are correct that it does work as expected. If I change the references in column A and B it does reflect in column D. I guess what I am asking is, is it possible to get it formatted the same way with alphanumerics as it is with integer values?
TIA!
I think this small change in the 'DoReportingChain' macro will do what you want:
Look for these two line near the bottom…
Change that to this.Please Login or Register to view this content.
Comments:Please Login or Register to view this content.
- This will insert tilde (~) characters at the start of an employee number when it has fewer than 5 characters.
- Change the tilde to whatever character you feel appropriate.
- There will be a period after each of employee #s
- You should use a monospaced font such as Courier on column E so the characters and periods line up.
Hope this helps,
- Stu
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks