A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
never mind looks like macros were getting disabled automatically when the excel file was opened each time.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have one excel sheet called product.xls and an Excel template with product detail fields.
I open this excel sheet. Whatever I type in the first column, should get converted to a hyperlink. So let's say I typed 'Roger' in A6. Roger should be hyperlinked. On clicking 'Roger' a new file with the name of Roger should be created in a folder, using the template, and this new file should open for the user to edit. If the same filename as Roger already exists, open existing file.
Is this possible in Excel? My friend told you need something called VBA but I am so clueless that you guys are my only step-by-step help!
Thanks for reading this.
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
never mind looks like macros were getting disabled automatically when the excel file was opened each time.
Strangely the code runs well when the excel file is opened for the first time. When I close the excel file and open it again, nothing happens on typing in the first column. Right click > view code shows the code is there!
Any idea what could be happening.
My excel sheet is Products.xls and template is ProductDet.xlt
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
God bless you JLLatham. This was spot on and thanks for writing this for me. I also followed your instructions of how to write vba code and it worked..yuhoooo!
I just need one small change. If a file already exists, I want to open the file for editing and not overwrite it.
Eg: If I typed 'Coffee' in the first column and if a file called 'Coffee.xls' already exist, then just open it. Overwriting it looses changes done to the file previously. Is that simple enough to do.
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more