Excel - Word Link - Formatting

Scrappy666

Board Regular
Joined
Jul 6, 2012
Messages
215
Hi Everyone,

I'm officially sick, i've been looking into the below problem for hours and can't find the solution.
I hope someone can help!

I am trying to link excel to word.
I have copied the cell > moved to Microsoft Word > Paste (link and merge formatting)
The data in the cell = (2,950,430)

I would like for this number to appear in word as -£2,950k (rounded to the nearest thousand).
I am using Alt-F9 to get the below:

Code:
{LINK Excel.SheetMacroEnabled.12 "\\\\FS1\\TourOperations\\HTOL Finance\\Finance Team\\MACS\\YE OCT-16\\05. March 2016\\1. MACS\\1. HTOL_MACs P&L BS Mar 16.xlsm" "1. P&L!R10C6" \a \f 5 \h  \* MERGEFORMAT}

I am part way to my goal, i have managed to change the format to include the -£, however it won't round to thousands!
If anyone has any experience in this could you please help.
Any advice is appriciated!!!

My amended formatting code is:

Code:
{LINK Excel.SheetMacroEnabled.12 "\\\\FS1\\TourOperations\\HTOL Finance\\Finance Team\\MACS\\YE OCT-16\\05. March 2016\\1. MACS\\1. HTOL_MACs P&L BS Mar 16.xlsm" "1. P&L!R10C6" \# "-£#,##0," MERGEFORMAT}

Thank you,
Daniel.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
First, delete ' \# "-£#,##0," MERGEFORMAT ' from your LINK field.
Second, select your LINK field and press Ctrl-F9 to embed it in another field, thus:
{{LINK Excel.SheetMacroEnabled.12 "\\\\FS1\\TourOperations\\HTOL Finance\\Finance Team\\MACS\\YE OCT-16\\05. March 2016\\1. MACS\\1. HTOL_MACs P&L BS Mar 16.xlsm" "1. P&L!R10C6"}}
Third, edit the outer field, thus:
{=({LINK Excel.SheetMacroEnabled.12 "\\\\FS1\\TourOperations\\HTOL Finance\\Finance Team\\MACS\\YE OCT-16\\05. March 2016\\1. MACS\\1. HTOL_MACs P&L BS Mar 16.xlsm" "1. P&L!R10C6"}/-1000) \# "£,0k"}
Fourth, press F9 to update the field.
Done.
 
Upvote 0
Macropod, i'm in awe.

I never thought I would get a response to this but i took a shot.
That is extremely detailed, worked like a charm and seriously impressive.

Thank you!
Daniel.
 
Upvote 0

Forum statistics

Threads
1,221,907
Messages
6,162,775
Members
451,787
Latest member
MLC1980

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top