can anyone help me with this one?
I need to save a excel spreadsheet into .txt file however if there is 8 characters in certain cell txt file adds another TAB which can't be really there as another program doesn't pull the information if it's there. I am out of ideas.
Related
I'm completely new at scripting.
Excel online - I have created a bunch of new excel files in Powerautomate, but I need the file specific filename inside each document. How do I do this?
I have found - console.log(workbook.getName()), this give me the correct "output", but I cant write it to a cell.
It is cell "B2", in spreadsheet "Data".
Hope you are able to help,
Thanks
Edit:
I have a pile of excel files that have been generated via MS Powerautomate.
Powerautomate is generating a specific name for each file. I need this file name inside each excel file, to do a specific filtering in a bunch of data.
The following picture are in Danish.
screenshot of execl file
The name of this document is "Skabelon" and I would like to have this name automatically filled in spreadsheet "Data" "B2".
Is this possible?
//Mads
I have a .csv file which I can export and from which I need to copy data into word.
I know how to get the relevant data from Excel and format my .csv file with VBA, however I don't know how to get my data from that Excel file to Word.
Basically this is how a line of my formatted .csv file looks (I Got rid of all the info I don't need).
For clarification: 1st long nr. is personnel 2nd one is token.
And I need to fill that info into the following table in word (Not everything gets filled in).
And one extra thing, depending on the extention of the email address #mc or #lmc, I need a different file opened (Different languages). How would I best do that?
Possible algorithm:
In your Excel document, develop a VBA macro that
Copy data/elements from Excel document
Open your word document
Paste excel data to word document (to the places you want)
Save word document
Close word document
Here is some code for inspiration of how to do that.
Would like to ask if how to convert a .csv file generated from macro to .txt file?
I have this Excel macro that gathers data from the website and create a table and output it to a .csv file, but for some reason I wasn't able to copy its contents to an existing .csv file as it returned special characters instead of the correct output.
Please help me, with the program I am currently doing.
A csv file is a text file. U can just change the extension like this
Name "C:\\**\\a.csv" As "C:\\**\\a.txt"
I have macro, using which i am trying to open a excel file then make some validation in the file that is opened. And Open another excel file and put the validation results(of excel file 1) in the form of report in the 2nd Excel.
So the task i have to do here is:
Open Excel file 1
Script to validate data in excel file 1.
Open Excel file 2
Enter the results in it.
Here i am able to open two excel files but not able to create pointers to them. Such as
if i use Sheets("Sheet1").Range("A1").value 'this picks data from Excel file 1.
But to access Excel file 2 what do i need to write, is this something like this:
Sheets("!Sheet1").Range("A1").value
Please help me to fix this. Thanks.
Application.Workbooks("create-a-macro").Worksheets(1).Range("A1").Value = "Hello"
Visit http://www.excel-easy.com/vba/workbook-worksheet-object.html
I have a text file with a list of usernames, and I have an excel file with about 4000 rows and about 9 columns. Basically what I'm looking to do is find any instance of anything from the TXT file in the Excel file. The match might not be EXACTLY the same, like :
TXT file has a row monkey1
excel file has a cell in column "C" with \\server1\monkey1
I would like to somehow flag that cell, or even the line in the TEXT file, or a seperate output.
I'm also pretty flexible on how to do this, like VBA/Macros etc. Or even putting this into an Access database or something similar. Or even converting the TXT to CSV or the Excel to another format.
Any advice would be greatly appreciated, or any guidance on what I should be looking for.
Thanks!
Export as csv
Write a python script that reads the csv with the csv module;
and the text file;
and then appends a magic string, like !! to each cell containing the text of a line from the text file;
then outputs a csv file with the updated table;
Then you can import it in excel;
And format-search-and-replace !! into a formatting of background color.