|
#1
|
||||
|
||||
Dang. You are right about the Dim statement. I looked on the MSFT website:
http://msdn.microsoft.com/en-us/library/7ee5a7s1(v=vs.80).aspx and found this paragraph. Different Types. You can specify different data types for different variables by using a separate As clause for each variable you declare. Alternatively, you can declare several variables to be of the same type by using a common As clause. Each variable takes the data type specified in the first As clause encountered after its variablename part. It sure seems to me to say that I can group them as I did. They even give this example: Code:
Dim a, b, c As Single, x, y As Double, i As Integer ' a, b, and c are all Single; x and y are both Double I ran the diagnostics. It found no errors. I don't need those 2 lines, so I'll just delete them. As for the borders, I would do as you suggest it I were writing this for general use. It's just for me and mainly for one project where I need the tables to look a certain way. I don't need every option. Anyway, thanks for all your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to call current PC date and/or current PC year | KIM SOLIS | Excel | 2 | 11-04-2011 06:09 PM |
Select Text in Table but Table Gets Selected Too | RBusiness | Word | 1 | 06-07-2011 04:26 PM |
Access to the property of the current table | b0x4it | Word VBA | 2 | 05-26-2011 06:25 AM |
Table - Check Boxes - Create Select All | lajohn1963 | Word Tables | 2 | 09-25-2010 11:18 AM |
Auto insert current month's name and current year | Styler001 | Word | 4 | 01-25-2010 06:40 PM |