d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Copy & Paste Large Font
Add Reply New Topic New Poll
Member
Posts: 5,269
Joined: Oct 18 2006
Gold: 21,400.00
Feb 16 2016 11:41am
I'm writing a program that fits into a client's work process. I cannot change what the client is doing...

The client is going to copy & paste my text file into excel. Is there a way to set the font size in a text file so when it gets pasted into excel that text is larger?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Feb 16 2016 12:33pm
As far as I'm aware, Text files, by definition, contain no special formatting. You would have to use another format. For example, rich text file (rtf) that wordpad supports or Doc that ms word supports. If he wants to open it in a browser, you can use html.
Member
Posts: 1,158
Joined: Oct 5 2010
Gold: 0.00
Mar 6 2016 05:06am
Instead of Ctrl+V to paste you can try Ctrl+Alt+V to paste, it'll give you options "how" to paste the text (at least in MS word).

I've never had any need, or know whether it'll allow you to post text bigger,. unless you already set the text size in the XLS file to that size.
If so, you can paste while retaining the text size of the XLS document rather than pasting the style of the source document.

Why though?
Depending on what tool you're coding in, you could probably either generate an excel doc yourself, or insert the intended text into a template file,. why would you ask your client to copy paste text themselves?
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll