Quantcast
Viewing all articles
Browse latest Browse all 10096

VBA Editor deletes spaces if an Excel file is opened from SharePoint

I am using Microsoft Office 365 Business. Most of my files are on SharePoint.  I am keeping all of my Excel macros in my Personal Macro Workbook on my computer hard drive.

If I open a blank worksheet or some downloaded data, then I can write code just fine; but if I open an Excel workbook from SharePoint, then when I enter a space at the end of a line, the VBA editor immediately deletes it. It only deletes spaces at the end of a line, so I can write "two words" which will come out as "twowords", and then back-arrow 5 times & hit the space bar and "two words" is there. Makes it tough to write code. Fortunately, it appears that I can just download the workbook from SharePoint, edit that workbook on my hard drive, and then the VBA editor works as long as there are no workbooks open in Sharepoint. But, if this is fixable, I'd love to stay in the clouds. TIA

Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>