I would like to add an Excel file to my posting/ answer in this forum, but can't find a way to to attach a file to to my posting/ answer.
Is that possible?
Excelfile
Related
I am searching for a way, to import a PDF into Excel using PowerShell.
So far I found one link that seems to have a solution:
http://allthesystems.com/2020/10/read-text-from-a-pdf-with-powershell/
Following the instructions, I had an error regarding the DLL, which I did unlock as read in some comments. Trying a second attempt, I get the following error:
Is this in combination with [iTextSharp.text.pdf.pdfreader], that it is not able to run the command and if yes, what would I need to do to get it loaded?
Unfortunately, I do not understand, what I am doing wrong and there are no indications or suggestions on the site, that others had a similar issue.
OR maybe:
Within Excel, there is the possibility under "Data" to use "Get-Data --> from File --> From PDF"
Is there a way to use PowerShell to run this step?
Any suggestions and guides welcome, I just try to find a way to have to have PDF files converted and imported into Excel and to automate the process.
Thank you very much for any help and support,
Mike
I am fairly new to coding in VBA so finding this quite complex to resolve.
Background: I have a folder hierarchy in SharePoint with each folder having Excel files. I am trying to copy all the data from the Excels file and store in .mdb database. I have mad an Excel file(VBA) which also has a search functionality querying this database.
Current Situation: I was able to sync this SharePoint to my OneDrive and had access to these files in my WE. I setup the VBA code and the .mdb database in the same directory and was able to achieve this task.
Problem: Other who have access to this SharePoint location are not able to use this search functionality because for them the path does not exist.
Is there any way I can make this work? (I tried following a DriveMapper code but htis doesnt work for me either. Error: Network name cannot be found.)
I am really stuck on it and would appreciate some help. Thank you in advance :)
So i got to find the answer for this query after digging for a while.
fPath = Environ("HOMEDRIVE") + Environ("HOMEPATH") + "....". This way the file path can be dynamically updated to reflect each user's homedrive and path. Hope it helps others seeking similar solution.
In SharePoint online when my flow moves the file (PDF, ZIP...) named "U000" in a folder where is a file with the same name it renames the file in "U0001".
How can I customize this to be renamed like "U000-Rev.1" or "U000_copy(1)" instead of "U0001"?
I know this is the default SharePoint behavior and there is no option for renaming format but maybe I can change or add a code in "definition.json" file from exported ZIP flow (or somewhere else).
(I'm not a software developer so any answer/idea is welcomed.)
Thank you!
Add an if statement to check the file name you just uploaded. If it contains (1) at the end of the name then rename the file. This is probably the least convoluted fast approach but it's not 100% robust.
You can add more logic or change the approach to make it fully robust but you can look into that after you've got something working imo, baby steps.
Sorry if this a noob question, but I'm just getting into Excel file management. Is there a way that when I try duplicating an Excel file that is saved in SharePoint (don't know if that is relevant), it'll also duplicate the metadata? When ever I duplicate a file, the metadata doesn't copy over...
Is it the Doc Panel metadata you're not able to get? Because in Excel 2016, Document Panel was deprecated.
I am trying to create a batch file as icon on desktop, that would open a specific excel file, create a macro in it and copy code from a specific txt file into it.
The reason i need this, is that the file is located on a server and the ending .xlm cannot be cahanged (should not) so i cannot save it as a macro enabled file (to store a macro in it )
Could annyone with better understanding please explain to me how to create the said code ?
Thanks in advance!
In theory it's possible by using the VBE object (https://msdn.microsoft.com/en-us/library/aa443984%28v=vs.60%29.aspx). But that's not activated by default so you can not ensure that each user is able to do that.
Better find other solutions for that problem. Can you upload .XLSB for example? Or do you have another kind of server available - for example a database server - you can use for storing the file? We use this method here for deploying our updates on AddIns and report templates for example.