Hi,
I'm looking for a way to write only part of a worksheet (cells A10:E150, for example) to a text file.
Any idea?
Thanks
Mike
Hi,
I'm looking for a way to write only part of a worksheet (cells A10:E150, for example) to a text file.
Any idea?
Thanks
Mike
Select the cells and run the first macro - you can certainly modify this to make it less instrusive....
![]()
Please Login or Register to view this content.
Bernie Deitrick
Excel MVP 2000-2010
Here's a slightly different approach - I recently had to write some text files in UTF-8 format, and found this method the best:
![]()
Please Login or Register to view this content.
let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source
If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE
Walking the tightrope between genius and eejit...
My contribution.
![]()
Please Login or Register to view this content.
David
(*) Reputation points appreciated.
I like that - but you could change
to just![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Yes, nice spot, thanks!![]()
Hi, thanks for all the responses!
Quick question, some of the cells I'm exporting are blanks, does anyone know how I could replace blanks with quotation marks?
Thanks again, much appreciated!
Mike
To display blanks as quotation marks, we can add in a few lines:
![]()
Please Login or Register to view this content.
Maybe this too...
![]()
Please Login or Register to view this content.
Great, thanks managed to get it working! Awesome!
Thanks again to everyone!
Mike
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks