Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BrowserForFolder on 64bit Excel #6

Open
KallunWillock opened this issue Sep 23, 2024 · 2 comments
Open

BrowserForFolder on 64bit Excel #6

KallunWillock opened this issue Sep 23, 2024 · 2 comments

Comments

@KallunWillock
Copy link

I note from your demo workbook that the BrowseForFolder routine does not work in Excel - sure enough, it crashed when I tried it. I knew that the API was temperamental in 64-bit Office, though I wasn't aware that it was an Excel specific issue.

In any event, I have uploaded to my Github repo the BrowseForFolder routine that works (for me, at least) in Excel 64-bit, in hopes that maybe we can reverse engineer why one version works and the other doesn't. I had a quick look during lunch, and nothing jumped out at me as being obviously or materially different - save for the fact that mine is currently contained entirely in a BAS module and is not unicode-capable.

@OlimilO1402
Copy link
Owner

OK, I was tryin but it still does'nt work. Don't have enough peace to get into it in more detail, atm. "Unfortunately" I have decided requirements like code running everywhere and unicode, so I can not just replace it with another code.

@KallunWillock
Copy link
Author

Ok, I went ahead an updated the code to make it Unicode compatible now, and have checked it with my Japanese language folders/files. I made a few other minor changes, so hopefully it now works for you. I uploaded the updated version here: https://github.com/KallunWillock/JustMoreVBA/blob/main/Boxes/modBox_BrowseForFolder.bas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants