Jump to content
Macro Express Forums

mark text in excell BOLD, italic or something else


koden

Recommended Posts

Hi

 

I have a excell sheet with a lot of cells with numbers.

My macro copy a number and uses the number on a website.

it goes back to excell and copy next number.

 

How do I in the excell sheet mark the just copied number ex. BOLD, so that this number is bold in excell (I can then see that this number has been "used")?

 

I thought it was a text command, but did not find any command matching.

Link to comment
Share on other sites

You can bold the selected cell in Excel by typing Ctrl-b.
In a macro, the command would be
Text Type (Simulate Keystrokes): <CTRLD>b<CTRLU>

However, in my version of Excel, bolding a cell clears the value in the clipboard.  So bold it BEFORE you copy it to the clipboard, not after. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...