LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 360
Default variable declaration

I have a script I need to understand so I'm starting from the top with the
delcarations. added a column and now the report doesn't print but I don't
know which column was added because I don't have the original sheet.
-----declarations-------
Option Explicit
Private Const ServiceGroupColumn as string ="$I"
Private Const FirstDataRow as Integer =12
Private Const FirstDataCell As string = "a12"
Private Const DCTColumnOffset As Integer = 4
PRivate Const ServiceGroupColumnRelative As String = "I"
Private Const StreamsColumnOffset as Integer = 1
Private const FreezePaneCell As String = "A12"
Private Const HomesColumnOffset as Integer = 5

One question I have is why is the ServiceGroupColumn $I and the
ServiceGroupColumnRelative also I?

The other question is Why is the DCTColumnOffset =4 mean? Why does it say
offset? The DCTCount Column is "D" . THe streamscolumn offset is "G". Is
that the problem with the printing? The ServiceGroupColumn is "H". The
Homes column is "C". I'm not quite sure why they don't just make the columns
a letter instead of calling it the offset so I want to be sure.

The first data row is 12 so that checks out.
If you can help me get this printed Monday would be a happy day.

tia,


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA - variable declaration Jeff Excel Discussion (Misc queries) 3 January 9th 08 12:45 PM
Determining Variable Declaration Tim Childs Excel Programming 4 January 19th 07 10:08 PM
External Variable Declaration ehntd Excel Programming 1 October 29th 04 10:50 AM
Global variable declaration! aiyer[_12_] Excel Programming 3 April 13th 04 04:35 PM
Variable Declaration?? Tom Ogilvy Excel Programming 1 August 8th 03 06:45 PM


All times are GMT +1. The time now is 06:23 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"