Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Excel Macro user function used in several sheets in same workbook

Modify your definition of UltimaFetcha:

UltimaFetcha (new Date,"some text", ThisWorkbook.Sheets("sheetname")

Function UltimaFecha(Fecha As Date, celda As String, sheet as
WorkSheet) As Date
Application.Volatile
* Fecha = sheet.Cells(sheet.Cells.Rows.Count, celda).End(xlUp).Value
* UltimaFecha = Fecha
End Function

Reply
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
want to share workbook but limit the sheets each user sees Mikekne Excel Worksheet Functions 5 November 5th 08 04:32 PM
Shared Workbook with user code lookup to display sheets Mark Warner Excel Programming 2 August 24th 06 07:34 AM
Using a user-defined function from the Personal workbook mworth01[_7_] Excel Programming 6 May 4th 06 02:12 PM
Macro for filter on protected workbook that works for all sheets, no matter what sheets are named? StargateFanFromWork[_3_] Excel Programming 6 January 26th 06 06:31 PM
Macro, Module, function, sub and This workbook and sheets ? Hari[_3_] Excel Programming 17 June 15th 04 11:03 PM


All times are GMT +1. The time now is 09:17 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"