Excel macro to time stamp upon essbase retrieval

supershot0015

New Member
Joined
Feb 18, 2014
Messages
4
Hey everyone, my very first post (of many)!!

Hoping someone can help me come up with a macro that will time stamp a sheet upon the retrieval/refresh of essbase smartview?

thanks,

Brent
 

Soggy

Board Regular
Joined
May 16, 2012
Messages
188
Are you retrieving via a macro?

If so then add:

Range("a1").Value = Format(Date, "DD-MM-yy HH:MM")

where A1 is where you want the timestamp to appear.
 

supershot0015

New Member
Joined
Feb 18, 2014
Messages
4
i have set up something similar to that in a macro, but trying to get around having the retrieval in a macro. Users are going to be hitting the refresh button in the smartview tool bar and would like to add the stamp through that somehow?!? Or, if someone retrieves a tab excel automatically stamps it.

this is what i currently have:

Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
Declare Function EssMenuVZoomIn Lib "ESSEXCLN.XLL" () As Long
Sub Retrieve()
X = EssVRetrieve("Essbase", range("A1:O15"), Empty)
ActiveSheet.Unprotect
range("c20").Value = Now()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True
End Sub

thanks soggy...
 

Soggy

Board Regular
Joined
May 16, 2012
Messages
188
To be honest I never dabbled with the add-ins on Essbase or smart (really didn't want to corrupt them).

I had set up a few sheets that will retrieve across numerous tabs and have it formatted, unfortunately I don't work with essbase longer so I can't have a peek either. Sorry
 

Forum statistics

Threads
1,081,418
Messages
5,358,567
Members
400,504
Latest member
RedSquirrel

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top