skowi
New Member
- Joined
- Jul 4, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hello,
This is my first post here. So far, I've been ending up on this forum always to find the solution (and I'm really grateful for that!). However this time I have a more difficult task to complete.
I need to distribute one macro'ed spreadsheet which will be used to generate list of roles and names with these roles. All based on lots of ifs formulas. After creating such list, users will use a macro to send it to a sharepoint as an ordinary XLSX filled with values only. I managed to get it running, but it turns out that more or less half of recipients who will be submitting these spreadsheets have commas set up in their regional settings, and the other half - semicolons.
I thought that a simple macro replacing these characters could work, but well - as suspected - it doesn't touch formulas. So, I thought that I could create a hidden sheet with the same content, but formulas would base on commas. Again - Excel obviously won't let such thing through trying either convert formulas into text, or blocking them. My last resort is, ByVal argument, or disassembling the xlsm file into an archive with xml files to replace contents manually which I don't really want to do as it's complicated and it can break the file easily. My question: is there any way to deal with this? Asking people to change their settings is out of option - they do already use other macros.
I would be very grateful for a hint.
This is my first post here. So far, I've been ending up on this forum always to find the solution (and I'm really grateful for that!). However this time I have a more difficult task to complete.
I need to distribute one macro'ed spreadsheet which will be used to generate list of roles and names with these roles. All based on lots of ifs formulas. After creating such list, users will use a macro to send it to a sharepoint as an ordinary XLSX filled with values only. I managed to get it running, but it turns out that more or less half of recipients who will be submitting these spreadsheets have commas set up in their regional settings, and the other half - semicolons.
I thought that a simple macro replacing these characters could work, but well - as suspected - it doesn't touch formulas. So, I thought that I could create a hidden sheet with the same content, but formulas would base on commas. Again - Excel obviously won't let such thing through trying either convert formulas into text, or blocking them. My last resort is, ByVal argument, or disassembling the xlsm file into an archive with xml files to replace contents manually which I don't really want to do as it's complicated and it can break the file easily. My question: is there any way to deal with this? Asking people to change their settings is out of option - they do already use other macros.
I would be very grateful for a hint.