Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
trying to save off locations
Hello,
I have a custom class. And I create a bunch of new classes. and save off information. One of the pieces of information is a location in excel. But I am having problems storing the location. My custom class is clsFile: Private mvarobjFileLocation As Object 'local copy Public Property Let FileLocation(ByVal vData As Object) Set mvarobjFileLocation = vData End Property Public Property Get FileLocation() As Object Set FileLocation = mvarobjFileLocation End Property I have also tried excel.range instead of object. In my main code is this: Dim cfile As New clsFile Set objRange = Range(sAddress) cfile.FileLocation (objRange) But I am getting errors. What am I doing wrong? thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
trying to save off locations
Just a thought...
If you don't need formatting features, you might consider saving your data into a CSV file. Mark "greg" wrote in message ... Hello, I have a custom class. And I create a bunch of new classes. and save off information. One of the pieces of information is a location in excel. But I am having problems storing the location. My custom class is clsFile: Private mvarobjFileLocation As Object 'local copy Public Property Let FileLocation(ByVal vData As Object) Set mvarobjFileLocation = vData End Property Public Property Get FileLocation() As Object Set FileLocation = mvarobjFileLocation End Property I have also tried excel.range instead of object. In my main code is this: Dim cfile As New clsFile Set objRange = Range(sAddress) cfile.FileLocation (objRange) But I am getting errors. What am I doing wrong? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
can you have excel automatically save in 2 locations | Excel Discussion (Misc queries) | |||
using macros to save files in different locations | Excel Programming | |||
can you automatically save files to two different locations? | Excel Discussion (Misc queries) | |||
VBA Code to save to 2 locations | Excel Programming | |||
VBA Code to save to 2 locations | Excel Programming |