Asterisk

jac3130

Board Regular
Joined
Dec 21, 2012
Messages
131
You'll have to accept my apology as I know this is a very rudimentary question. However, as I'm a beginner, I must ask.

What do asterisks mean in Visual Basic? Are they necessary when writing a code? For instance, I saw this code example on a forum:

****Dim wk As Worksheet
****For Each wk In ThisWorkbook.Worksheets
********wk.Activate
********'enter code here to perform
****Next wk


Are the asterisks just an element of the forum and not to be entered into the Visual Basic when writing the code?

Any assistance would be greatly appreciated.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I think they have been entered by the board software. You will need to remove them or the code won't compile.
 
Upvote 0

Forum statistics

Threads
1,225,628
Messages
6,186,107
Members
453,337
Latest member
fiaz ahmad

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